aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-05-19 00:04:46 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-05-19 00:04:46 +0100
commit29fbaeaae5b789167e610ba26722e3f195f91e56 (patch)
tree79293c6962338bd67ba893cedec40d175cd402a7 /src
parentMerge pull request #3794 (diff)
downloadmonero-29fbaeaae5b789167e610ba26722e3f195f91e56.tar.xz
daemon: request unpruned transactions for print_tx
instead of uninitialized
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 64ce3a406..2efb501ea 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -720,6 +720,7 @@ bool t_rpc_command_executor::print_transaction(crypto::hash transaction_hash,
req.txs_hashes.push_back(epee::string_tools::pod_to_hex(transaction_hash));
req.decode_as_json = false;
+ req.prune = false;
if (m_is_rpc)
{
if (!m_rpc_client->rpc_request(req, res, "/gettransactions", fail_message.c_str()))