Skip to content

Commit

Permalink
fix(cmd): change to use create validator (#431)
Browse files Browse the repository at this point in the history
Fix create validator command to use `createValidator` instead of
`createValidatorOnBehalf`.

issue: #429
  • Loading branch information
0xHansLee authored Dec 13, 2024
1 parent 3025bfb commit 8d78f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/cmd/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ func createValidator(ctx context.Context, cfg createValidatorConfig) error {
_, err = prepareAndExecuteTransaction(
ctx,
&cfg.baseConfig,
"createValidatorOnBehalf",
"createValidator",
stakeAmount,
uncompressedPubKeyBytes,
cfg.Moniker,
Expand Down

0 comments on commit 8d78f7a

Please sign in to comment.