Skip to content

Commit

Permalink
fix: handle GetSigners() in UpdateParams (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSalopek committed Jun 11, 2024
1 parent 6180ddc commit a244093
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/feemarket/types/msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a244093

Please sign in to comment.