Merge pull request #284 from CosmWasm/raw-query-returns-base64

Base64 encoded return data on wasm raw query REST endpoint
This commit is contained in:
Ethan Frey
2020-10-08 20:50:42 +02:00
committed by GitHub

View File

@@ -180,7 +180,7 @@ func queryContractStateRawHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
return
}
cliCtx = cliCtx.WithHeight(height)
rest.PostProcessResponse(w, cliCtx, json.RawMessage(res))
rest.PostProcessResponse(w, cliCtx, res)
}
}