diff --git a/x/multi-staking/client/cli/tx.go b/x/multi-staking/client/cli/tx.go index 7be9fa1..519978a 100644 --- a/x/multi-staking/client/cli/tx.go +++ b/x/multi-staking/client/cli/tx.go @@ -21,8 +21,8 @@ func NewTxCmd(valAddrCodec, ac address.Codec) *cobra.Command { } txCmd.AddCommand( - cli.NewCreateValidatorCmd(ac), - cli.NewEditValidatorCmd(ac), + cli.NewCreateValidatorCmd(valAddrCodec), + cli.NewEditValidatorCmd(valAddrCodec), cli.NewDelegateCmd(valAddrCodec, ac), cli.NewRedelegateCmd(valAddrCodec, ac), cli.NewUnbondCmd(valAddrCodec, ac),