aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-10-18 08:01:56 +0900
committerstoffu <stoffu@protonmail.ch>2018-10-18 08:01:56 +0900
commit776aefdac1f8e011d3e1fcc99cceb3bfb6e7d8f9 (patch)
treea5bec8839296803db082de5658b8bc29ab2288e0 /src/rpc
parentMerge pull request #4610 (diff)
downloadmonero-776aefdac1f8e011d3e1fcc99cceb3bfb6e7d8f9.tar.xz
tx_pool: revert #4592 and move bin2hex conversion to on_get_transaction_pool
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index d8f556d3e..263ddf1bc 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -924,6 +924,8 @@ namespace cryptonote
return r;
m_core.get_pool_transactions_and_spent_keys_info(res.transactions, res.spent_key_images, !request_has_rpc_origin || !m_restricted);
+ for (tx_info& txi : res.transactions)
+ txi.tx_blob = epee::string_tools::buff_to_hex_nodelimer(txi.tx_blob);
res.status = CORE_RPC_STATUS_OK;
return true;
}