aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-05-28 11:32:47 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-06-11 12:47:28 +0000
commite3068346eeb824d6559696117f6c25b3ee2cac4c (patch)
tree22f89b1060a36a9c96e91409333c3d64045a4706
parentMerge pull request #6579 (diff)
downloadmonero-e3068346eeb824d6559696117f6c25b3ee2cac4c.tar.xz
rpc: fix relay_tx error return mixup
-rw-r--r--src/rpc/core_rpc_server.cpp2
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));