Base64 encoded return data on wasm raw query REST endpoint

This commit is contained in:
Ethan Frey
2020-10-08 17:22:08 +02:00
parent bc0c96f33a
commit 13169ab629

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)
}
}