File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ static const uint64_t RANDOMIZER_ID_ADDRCACHE = 0x1cf2e4ddd306dda9ULL; // SHA256
112112//
113113bool fDiscover = true ;
114114bool fListen = true ;
115- RecursiveMutex g_maplocalhost_mutex;
115+ Mutex g_maplocalhost_mutex;
116116std::map<CNetAddr, LocalServiceInfo> mapLocalHost GUARDED_BY (g_maplocalhost_mutex);
117117static bool vfLimited[NET_MAX] GUARDED_BY(g_maplocalhost_mutex) = {};
118118std::string strSubVersion;
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ struct LocalServiceInfo {
230230 uint16_t nPort;
231231};
232232
233- extern RecursiveMutex g_maplocalhost_mutex;
233+ extern Mutex g_maplocalhost_mutex;
234234extern std::map<CNetAddr, LocalServiceInfo> mapLocalHost GUARDED_BY (g_maplocalhost_mutex);
235235
236236extern const std::string NET_MESSAGE_COMMAND_OTHER;
You can’t perform that action at this time.
0 commit comments