diff --git a/x/marketplace/types/msgs.go b/x/marketplace/types/msgs.go index ad35d6eb..2f5b3470 100644 --- a/x/marketplace/types/msgs.go +++ b/x/marketplace/types/msgs.go @@ -52,13 +52,17 @@ func (msg MsgListNFT) Route() string { return MsgRoute } func (msg MsgListNFT) Type() string { return TypeMsgListNFT } func (msg MsgListNFT) ValidateBasic() error { + owner, err := sdk.AccAddressFromBech32(msg.Owner) + if err != nil { + return err + } return ValidateListing( NewListing( msg.Id, msg.NftId, msg.DenomId, msg.Price, - sdk.AccAddress(msg.Owner), + owner, msg.SplitShares, ), )