refactor: Make CAddrMan::cs non-recursive

pull/826/head
Hennadii Stepanov 4 years ago
parent f5d1c7fac7
commit ae98aec9c0
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

@ -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 {

Loading…
Cancel
Save