tx_pool: revert #4592 and move bin2hex conversion to on_get_transaction_pool

This commit is contained in:
stoffu
2018-10-18 08:01:56 +09:00
parent 5638b07d9f
commit d7ff707b52
2 changed files with 3 additions and 1 deletions

View File

@@ -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 = epee::string_tools::buff_to_hex_nodelimer(*bd);
txi.tx_blob = *bd;
transaction tx;
if (!parse_and_validate_tx_from_blob(*bd, tx))
{