From a5f7e9d0ad6db17ae640c10e6138ac4bfd5d83b1 Mon Sep 17 00:00:00 2001 From: Tomasz Kurcz Date: Tue, 6 Jul 2021 13:37:11 +0200 Subject: [PATCH] Change GovMsg.Vote to a pointer type --- types/msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/msg.go b/types/msg.go index 694ea82b2..94b032b71 100644 --- a/types/msg.go +++ b/types/msg.go @@ -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