refactor: Make CAddrMan::cs non-recursive

This commit is contained in:
Hennadii Stepanov 2021-05-23 21:11:00 +03:00
parent f5d1c7fac7
commit ae98aec9c0
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

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 {