Skip to content

Commit 345b3ed

Browse files
authored
Merge pull request #243 from CosmWasm/extendable-govmsg
Change GovMsg.Vote to a pointer type
2 parents 98ddef9 + a5f7e9d commit 345b3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/msg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ type IBCMsg struct {
103103

104104
type GovMsg struct {
105105
// 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.
106-
Vote VoteMsg `json:"vote,omitempty"`
106+
Vote *VoteMsg `json:"vote,omitempty"`
107107
}
108108

109109
type voteOption int

0 commit comments

Comments
 (0)