Skip to content

Commit 1307686

Browse files
committed
refactor: Use Mutex type for g_cs_recent_confirmed_transactions
1 parent 67881de commit 1307686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net_processing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ namespace {
189189
* We use this to avoid requesting transactions that have already been
190190
* confirnmed.
191191
*/
192-
RecursiveMutex g_cs_recent_confirmed_transactions;
192+
Mutex g_cs_recent_confirmed_transactions;
193193
std::unique_ptr<CRollingBloomFilter> g_recent_confirmed_transactions GUARDED_BY(g_cs_recent_confirmed_transactions);
194194

195195
/** Blocks that are in flight, and that are in the queue to be downloaded. */

0 commit comments

Comments
 (0)