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-05-28 11:33:27 +0000
commit6e4a55ba7ea00ddd50206bbe7726bb17f93336dc (patch)
treecade1728b02ebd24c851b4318ac2de39a99b2f27
parentMerge pull request #6510 (diff)
downloadmonero-6e4a55ba7ea00ddd50206bbe7726bb17f93336dc.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 82a7234d1..a8cffecbd 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -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));