Skip to content

Commit

Permalink
tx_pool: store hex string instead of raw binary to tx_blob of get_tra…
Browse files Browse the repository at this point in the history
…nsaction_pool RPC

Inspired by masari-project/masari#93
  • Loading branch information
stoffu committed Oct 15, 2018
1 parent 77e1ebf commit a677492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptonote_core/tx_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit a677492

Please sign in to comment.