refactor: Make CAddrMan::cs non-recursive

This commit is contained in:
Hennadii Stepanov committed 2021-06-14 17:28:38 +03:00
1 parent f5d1c7fac7
commit ae98aec9c0
1 file changed
+2 -2
+2 -2
View File
@@ -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 {