Skip to content

Commit

Permalink
Update x/gov/types/msgs.go
Browse files Browse the repository at this point in the history
Co-authored-by: fx0x55 <80245546+fx0x55@users.noreply.github.com>
  • Loading branch information
zakir-code and fx0x55 authored Oct 30, 2023
1 parent 924acd9 commit ec7bcb6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/gov/types/msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ func (m *MsgUpdateEGFParams) GetSignBytes() []byte {

// GetSigners returns the expected signers for a MsgUpdateParams message.
func (m *MsgUpdateEGFParams) GetSigners() []sdk.AccAddress {
addr := sdk.MustAccAddressFromBech32(m.Authority)
return []sdk.AccAddress{addr}
return []sdk.AccAddress{sdk.MustAccAddressFromBech32(m.Authority)}
}

func (m *MsgUpdateEGFParams) ValidateBasic() error {
Expand Down

0 comments on commit ec7bcb6

Please sign in to comment.