refactor: replace RecursiveMutex g_maplocalhost_mutex with Mutex

This commit is contained in:
w0xlt
2022-01-19 07:06:36 -03:00
parent a7da1409bc
commit 5e7e4c9f6e
2 changed files with 2 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ static const uint64_t RANDOMIZER_ID_ADDRCACHE = 0x1cf2e4ddd306dda9ULL; // SHA256
//
bool fDiscover = true;
bool fListen = true;
RecursiveMutex g_maplocalhost_mutex;
Mutex g_maplocalhost_mutex;
std::map<CNetAddr, LocalServiceInfo> mapLocalHost GUARDED_BY(g_maplocalhost_mutex);
static bool vfLimited[NET_MAX] GUARDED_BY(g_maplocalhost_mutex) = {};
std::string strSubVersion;