diff --git a/src/net.h b/src/net.h index 14c94c0319..c79abb91c3 100644 --- a/src/net.h +++ b/src/net.h @@ -434,7 +434,7 @@ public: //! Whether this peer is an inbound onion, i.e. connected via our Tor onion service. const bool m_inbound_onion; std::atomic nVersion{0}; - RecursiveMutex m_subver_mutex; + Mutex m_subver_mutex; /** * cleanSubVer is a sanitized string of the user agent byte array we read * from the wire. This cleaned string can safely be logged or displayed.