Skip to content

Commit a2469bc

Browse files
fix: handle GetSigners() in UpdateParams (#110) (#111)
(cherry picked from commit a244093) Co-authored-by: MSalopek <matija.salopek994@gmail.com>
1 parent df7422a commit a2469bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x/feemarket/types/msgs.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ func NewMsgParams(authority string, params Params) MsgParams {
1616

1717
// GetSigners implements GetSigners for the msg.
1818
func (m *MsgParams) GetSigners() []sdk.AccAddress {
19-
return []sdk.AccAddress{sdk.AccAddress(m.Authority)}
19+
addr, _ := sdk.AccAddressFromBech32(m.Authority)
20+
return []sdk.AccAddress{addr}
2021
}
2122

2223
// ValidateBasic determines whether the information in the message is formatted correctly, specifically

0 commit comments

Comments
 (0)