From a244093696e6c8769e34550fff16ecd9cfb7bd44 Mon Sep 17 00:00:00 2001 From: MSalopek Date: Tue, 11 Jun 2024 15:57:27 +0200 Subject: [PATCH] fix: handle GetSigners() in UpdateParams (#110) --- x/feemarket/types/msgs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x/feemarket/types/msgs.go b/x/feemarket/types/msgs.go index ee799ea..4dc31a0 100644 --- a/x/feemarket/types/msgs.go +++ b/x/feemarket/types/msgs.go @@ -16,7 +16,8 @@ func NewMsgParams(authority string, params Params) MsgParams { // GetSigners implements GetSigners for the msg. func (m *MsgParams) GetSigners() []sdk.AccAddress { - return []sdk.AccAddress{sdk.AccAddress(m.Authority)} + addr, _ := sdk.AccAddressFromBech32(m.Authority) + return []sdk.AccAddress{addr} } // ValidateBasic determines whether the information in the message is formatted correctly, specifically