diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-09 11:09:06 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-25 15:48:03 +0100 |
commit | 06c1e057358e7f0ad4c933fd85961f86a9227daf (patch) | |
tree | 2a3f2feffeaab178614150c00c65cf357d2bbdb3 /src/daemon/rpc_command_executor.cpp | |
parent | http_base: init size_t in http_request_info ctor (diff) | |
download | monero-06c1e057358e7f0ad4c933fd85961f86a9227daf.tar.xz |
daemon: initialize decode_as_json in RPC request
CID 161886
Diffstat (limited to 'src/daemon/rpc_command_executor.cpp')
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 167e24ed3..11e3a2252 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -700,6 +700,7 @@ bool t_rpc_command_executor::print_transaction(crypto::hash transaction_hash) { std::string fail_message = "Problem fetching transaction"; req.txs_hashes.push_back(epee::string_tools::pod_to_hex(transaction_hash)); + req.decode_as_json = false; if (m_is_rpc) { if (!m_rpc_client->rpc_request(req, res, "/gettransactions", fail_message.c_str())) |