Co-authored-by: james.zhang <68689915+zenzenless@users.noreply.github.com>
This commit is contained in:
co-authored by
james.zhang
parent
d32e1eab16
commit
a7a9bcb0f7
@@ -90,6 +90,11 @@ func (msg MsgCreateValidator) Validate(ac address.Codec) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// GetMoniker returns the moniker of the validator
|
||||
func (msg MsgCreateValidator) GetMoniker() string {
|
||||
return msg.Description.GetMoniker()
|
||||
}
|
||||
|
||||
// UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
|
||||
func (msg MsgCreateValidator) UnpackInterfaces(unpacker gogoprotoany.AnyUnpacker) error {
|
||||
var pubKey cryptotypes.PubKey
|
||||
|
||||
Reference in New Issue
Block a user