diff options
author | w0xlt <94266259+w0xlt@users.noreply.github.com> | 2022-01-19 07:06:36 -0300 |
---|---|---|
committer | w0xlt <94266259+w0xlt@users.noreply.github.com> | 2022-01-19 07:06:36 -0300 |
commit | 5e7e4c9f6e57f5333bd17a20b0c85a78d032998e (patch) | |
tree | 541d1ef6ec8916630eb02a895f10dbcad85baf89 /src/net.cpp | |
parent | a7da1409bc9f614009f76c1bfc55f029ff1265e4 (diff) | |
download | bitcoin-5e7e4c9f6e57f5333bd17a20b0c85a78d032998e.tar.xz |
refactor: replace RecursiveMutex g_maplocalhost_mutex with Mutex
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 96e6a1adb1..9f0e28df42 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -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; |