diff --git a/x/wasm/client/rest/gov.go b/x/wasm/client/rest/gov.go index ef688d9401..f730cb4696 100644 --- a/x/wasm/client/rest/gov.go +++ b/x/wasm/client/rest/gov.go @@ -29,7 +29,7 @@ type StoreCodeProposalJSONReq struct { InstantiatePermission *types.AccessConfig `json:"instantiate_permission" yaml:"instantiate_permission"` // UnpinCode indicates if the code should not be pinned as part of the proposal. - UnpinCode bool `json:"pin_code" yaml:"pin_code"` + UnpinCode bool `json:"unpin_code" yaml:"unpin_code"` } func (s StoreCodeProposalJSONReq) Content() govtypes.Content {