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 | 11f71af56c11cf3b2ade879e633bf264ada07a7e (diff) | |
| download | monzero-core-06c1e057358e7f0ad4c933fd85961f86a9227daf.tar.gz monzero-core-06c1e057358e7f0ad4c933fd85961f86a9227daf.tar.xz monzero-core-06c1e057358e7f0ad4c933fd85961f86a9227daf.zip | |
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())) |
