Skip to content

Commit c8fa03d

Browse files
author
MarcoFalke
committed
Merge #19378: refactor: Use Mutex type for g_cs_recent_confirmed_transactions
1307686 refactor: Use Mutex type for g_cs_recent_confirmed_transactions (Hennadii Stepanov) Pull request description: No need the `RecursiveMutex` type for the `g_cs_recent_confirmed_transactions`. Related to #19303. ACKs for top commit: MarcoFalke: ACK 1307686 vasild: ACK 1307686 Tree-SHA512: 67f1be10c80ec18d0f80b9f5036e5a20986314da9b9364ef4e193ad1d9f3f4c8e4c2e16253ca79d649ff602d5b8c2aff58d7dd1085841afb760479a4875cffbe
2 parents 90981b7 + 1307686 commit c8fa03d

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)