Skip to content

Commit 042e8a4

Browse files
committed
fix: drop unneded lock assert in net.cpp for m_nodes_mutex
1 parent 3f0c2ff commit 042e8a4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/net.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,6 @@ CNode* CConnman::ConnectNode(CAddress addrConnect, const char *pszDest, bool fCo
643643

644644
void CNode::CloseSocketDisconnect(CConnman* connman)
645645
{
646-
AssertLockHeld(connman->m_nodes_mutex);
647-
648646
fDisconnect = true;
649647
LOCK2(connman->cs_mapSocketToNode, m_sock_mutex);
650648
if (!m_sock) {

0 commit comments

Comments
 (0)