diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-10-15 13:56:18 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-10-15 13:56:18 +0200 |
commit | b66c5230469b713a35a90d10df05c18cd52dd0b3 (patch) | |
tree | 8df510042d3e3a13f0df2981041c900f7a2361ce | |
parent | Merge pull request #4584 (diff) | |
parent | tx_pool: store hex string instead of raw binary to tx_blob of get_transaction... (diff) | |
download | monero-b66c5230469b713a35a90d10df05c18cd52dd0b3.tar.xz |
Merge pull request #4596
e3e1f836 tx_pool: store hex string instead of raw binary to tx_blob of get_transaction_pool RPC (stoffu)
-rw-r--r-- | src/cryptonote_core/tx_pool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp index c31a2073b..c8b8a6786 100644 --- a/src/cryptonote_core/tx_pool.cpp +++ b/src/cryptonote_core/tx_pool.cpp @@ -766,7 +766,7 @@ namespace cryptonote m_blockchain.for_all_txpool_txes([&tx_infos, key_image_infos, include_sensitive_data](const crypto::hash &txid, const txpool_tx_meta_t &meta, const cryptonote::blobdata *bd){ tx_info txi; txi.id_hash = epee::string_tools::pod_to_hex(txid); - txi.tx_blob = *bd; + txi.tx_blob = epee::string_tools::buff_to_hex_nodelimer(*bd); transaction tx; if (!parse_and_validate_tx_from_blob(*bd, tx)) { |