Skip to content

Commit

Permalink
Merge pull request #243 from CosmWasm/extendable-govmsg
Browse files Browse the repository at this point in the history
Change GovMsg.Vote to a pointer type
  • Loading branch information
webmaster128 authored Jul 6, 2021
2 parents 98ddef9 + a5f7e9d commit 345b3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ type IBCMsg struct {

type GovMsg struct {
// This maps directly to [MsgVote](https://github.com/cosmos/cosmos-sdk/blob/v0.42.5/proto/cosmos/gov/v1beta1/tx.proto#L46-L56) in the Cosmos SDK with voter set to the contract address.
Vote VoteMsg `json:"vote,omitempty"`
Vote *VoteMsg `json:"vote,omitempty"`
}

type voteOption int
Expand Down

0 comments on commit 345b3ed

Please sign in to comment.