From c19b60f14dc27b64e8587b94e9c4ebd9c91b3921 Mon Sep 17 00:00:00 2001 From: Trinity Date: Thu, 24 Oct 2024 13:31:18 +0700 Subject: [PATCH] Use correct validator codec --- x/multi-staking/client/cli/tx.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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),