aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-07-08 17:20:29 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-07-08 17:20:29 -0500
commit3057f52f89a962e36796577080621b304b88a096 (patch)
treed2c5de0b869cd5737380fb25d93fe71e8afedde8 /src
parentMerge pull request #6597 (diff)
parentfunctional_tests: add simple relay_tx test (diff)
downloadmonero-3057f52f89a962e36796577080621b304b88a096.tar.xz
Merge pull request #6599
6e4a55b rpc: fix relay_tx error return mixup (moneromooo-monero) 9b86e14 functional_tests: add simple relay_tx test (moneromooo-monero)
Diffstat (limited to 'src')
-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));