refactor(staking): add missing msgServer tests and move ValidateBasic() logic to msgServer (#15820)
This commit is contained in:
@@ -379,7 +379,7 @@ func newBuildCreateValidatorMsg(clientCtx client.Context, txf tx.Factory, fs *fl
|
||||
if err != nil {
|
||||
return txf, nil, err
|
||||
}
|
||||
if err := msg.ValidateBasic(); err != nil {
|
||||
if err := msg.Validate(); err != nil {
|
||||
return txf, nil, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user