diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-05-28 11:32:47 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-06-11 12:47:28 +0000 |
commit | e3068346eeb824d6559696117f6c25b3ee2cac4c (patch) | |
tree | 22f89b1060a36a9c96e91409333c3d64045a4706 | |
parent | Merge pull request #6579 (diff) | |
download | monero-e3068346eeb824d6559696117f6c25b3ee2cac4c.tar.xz |
rpc: fix relay_tx error return mixup
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 062386087..51ca3c35c 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -2816,7 +2816,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)); |