aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorw0xlt <94266259+w0xlt@users.noreply.github.com>2022-01-19 07:06:36 -0300
committerw0xlt <94266259+w0xlt@users.noreply.github.com>2022-01-19 07:06:36 -0300
commit5e7e4c9f6e57f5333bd17a20b0c85a78d032998e (patch)
tree541d1ef6ec8916630eb02a895f10dbcad85baf89 /src/net.h
parenta7da1409bc9f614009f76c1bfc55f029ff1265e4 (diff)
refactor: replace RecursiveMutex g_maplocalhost_mutex with Mutex
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 4b682b473a..1f0ebedcf9 100644
--- a/src/net.h
+++ b/src/net.h
@@ -230,7 +230,7 @@ struct LocalServiceInfo {
uint16_t nPort;
};
-extern RecursiveMutex g_maplocalhost_mutex;
+extern Mutex g_maplocalhost_mutex;
extern std::map<CNetAddr, LocalServiceInfo> mapLocalHost GUARDED_BY(g_maplocalhost_mutex);
extern const std::string NET_MESSAGE_COMMAND_OTHER;