mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
rpc: fix relay_tx error return mixup
This commit is contained in:
parent
77a008f714
commit
6e4a55ba7e
1 changed files with 1 additions and 1 deletions
|
@ -2778,7 +2778,7 @@ namespace cryptonote
|
||||||
crypto::hash txid = *reinterpret_cast<const crypto::hash*>(txid_data.data());
|
crypto::hash txid = *reinterpret_cast<const crypto::hash*>(txid_data.data());
|
||||||
|
|
||||||
cryptonote::blobdata txblob;
|
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;
|
NOTIFY_NEW_TRANSACTIONS::request r;
|
||||||
r.txs.push_back(std::move(txblob));
|
r.txs.push_back(std::move(txblob));
|
||||||
|
|
Loading…
Reference in a new issue