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 {