mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
refactor: Make CAddrMan::cs non-recursive
This commit is contained in:
@@ -626,8 +626,8 @@ protected:
|
||||
FastRandomContext insecure_rand;
|
||||
|
||||
private:
|
||||
//! critical section to protect the inner data structures
|
||||
mutable RecursiveMutex cs;
|
||||
//! A mutex to protect the inner data structures.
|
||||
mutable Mutex cs;
|
||||
|
||||
//! Serialization versions.
|
||||
enum Format : uint8_t {
|
||||
|
||||
Reference in New Issue
Block a user