rpc: fix relay_tx error return mixup

pull/320/head
moneromooo-monero 4 years ago
parent 77a008f714
commit 6e4a55ba7e
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -2778,7 +2778,7 @@ namespace cryptonote
crypto::hash txid = *reinterpret_cast<const crypto::hash*>(txid_data.data());
cryptonote::blobdata txblob;
if (!m_core.get_pool_transaction(txid, txblob, relay_category::legacy))
if (m_core.get_pool_transaction(txid, txblob, relay_category::legacy))
{
NOTIFY_NEW_TRANSACTIONS::request r;
r.txs.push_back(std::move(txblob));

Loading…
Cancel
Save