aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-09 11:09:06 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-25 15:48:03 +0100
commit06c1e057358e7f0ad4c933fd85961f86a9227daf (patch)
tree2a3f2feffeaab178614150c00c65cf357d2bbdb3 /src
parenthttp_base: init size_t in http_request_info ctor (diff)
downloadmonero-06c1e057358e7f0ad4c933fd85961f86a9227daf.tar.xz
daemon: initialize decode_as_json in RPC request
CID 161886
Diffstat (limited to 'src')
-rw-r--r--src/daemon/rpc_command_executor.cpp1
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()))