aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-06-25 10:25:24 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-06-25 10:25:24 +0300
commit13076867981ab36b3549ab4c29583ae8ed12a709 (patch)
treeae474324c8a80ab2356b8c43fee628d64b8bf2b5 /src
parent67881de0e3b1cef1d0f978582765a8aeeb09c21a (diff)
refactor: Use Mutex type for g_cs_recent_confirmed_transactions
Diffstat (limited to 'src')
-rw-r--r--src/net_processing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index 3c69037dfa..b5912e18a7 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -189,7 +189,7 @@ namespace {
* We use this to avoid requesting transactions that have already been
* confirnmed.
*/
- RecursiveMutex g_cs_recent_confirmed_transactions;
+ Mutex g_cs_recent_confirmed_transactions;
std::unique_ptr<CRollingBloomFilter> g_recent_confirmed_transactions GUARDED_BY(g_cs_recent_confirmed_transactions);
/** Blocks that are in flight, and that are in the queue to be downloaded. */