diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-05-23 21:11:00 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-06-14 17:28:38 +0300 |
commit | ae98aec9c0521cdcec76459c8200bd45ff6a1485 (patch) | |
tree | 3e091f0250b0938c47384082f6fc534232e8e9cd | |
parent | f5d1c7fac70f424114dae3be270fdc31589a8c34 (diff) | |
download | bitcoin-ae98aec9c0521cdcec76459c8200bd45ff6a1485.tar.xz |
refactor: Make CAddrMan::cs non-recursive
-rw-r--r-- | src/addrman.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/addrman.h b/src/addrman.h index ab97d6fb12..665e253192 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -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 { |