aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-10-06 23:00:43 +0400
committerRiccardo Spagni <ric@spagni.net>2017-10-06 23:00:43 +0400
commit86e9de588c2b550ff5a005d0fcc8445fd5f58baa (patch)
treea60d18b0237ba2b6dcecc174d770727cd4b7e673
parentMerge pull request #2542 (diff)
parentrpc: fix getting txpool transactions (diff)
downloadmonero-86e9de588c2b550ff5a005d0fcc8445fd5f58baa.tar.xz
Merge pull request #2548
7d4ef258 rpc: fix getting txpool transactions (moneromooo-monero)
-rw-r--r--src/rpc/core_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index b9678f414..714941a36 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -504,6 +504,7 @@ namespace cryptonote
{
sorted_txs.push_back(*i);
missed_txs.remove(h);
+ pool_tx_hashes.insert(h);
++found_in_pool;
}
}