fix: check bugs from #19224 (#19524)

This commit is contained in:
Julien Robert
2024-02-22 13:58:23 +00:00
committed by GitHub
parent 35fe6c4ccd
commit 4d5b140ad2
34 changed files with 122 additions and 2132 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ func NewEditValidatorCmd() *cobra.Command {
newMinSelfDelegation = &msb
}
valAddr, err := clientCtx.AddressCodec.BytesToString(clientCtx.GetFromAddress())
valAddr, err := clientCtx.ValidatorAddressCodec.BytesToString(clientCtx.GetFromAddress())
if err != nil {
return err
}