Skip to content

Commit

Permalink
GetSignBytes
Browse files Browse the repository at this point in the history
  • Loading branch information
vuong177 committed Jun 20, 2023
1 parent 0fc8f71 commit 3a59af3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/light-clients/08-wasm/types/msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ func (m MsgPushNewWasmCode) GetSigners() []sdk.AccAddress {
}
return []sdk.AccAddress{signer}
}

// GetSignBytes implements the LegacyMsg interface.
func (msg MsgPushNewWasmCode) GetSignBytes() []byte {
return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg))
}

0 comments on commit 3a59af3

Please sign in to comment.