refactor: Make CAddrMan::cs non-recursive
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -626,8 +626,8 @@ protected:
|
|||||||
FastRandomContext insecure_rand;
|
FastRandomContext insecure_rand;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//! critical section to protect the inner data structures
|
//! A mutex to protect the inner data structures.
|
||||||
mutable RecursiveMutex cs;
|
mutable Mutex cs;
|
||||||
|
|
||||||
//! Serialization versions.
|
//! Serialization versions.
|
||||||
enum Format : uint8_t {
|
enum Format : uint8_t {
|
||||||
|
|||||||
Reference in new issue
Block a user