aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-06-19 16:05:03 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-06-19 16:05:03 -0500
commit1336992a5bea26085bd04b15c223591bdbf74b93 (patch)
treeb04b30fae26775b98e1e1241981376c025cf5353 /src/rpc/core_rpc_server.cpp
parentMerge pull request #6642 (diff)
parentfunctional_tests: add simple relay_tx test (diff)
downloadmonero-1336992a5bea26085bd04b15c223591bdbf74b93.tar.xz
Merge pull request #6643
23df29d functional_tests: add simple relay_tx test (moneromooo-monero) e306834 rpc: fix relay_tx error return mixup (moneromooo-monero)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-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 213d9c702..3807d73d9 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));