mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-01 09:35:52 -05:00
net: Specify context in disconnecting log message
This commit is contained in:
parent
0c4954ac7d
commit
04b848e482
1 changed files with 1 additions and 1 deletions
|
@ -3443,7 +3443,7 @@ void CConnman::StopNodes()
|
|||
std::vector<CNode*> nodes;
|
||||
WITH_LOCK(m_nodes_mutex, nodes.swap(m_nodes));
|
||||
for (CNode* pnode : nodes) {
|
||||
LogDebug(BCLog::NET, "%s\n", pnode->DisconnectMsg(fLogIPs));
|
||||
LogDebug(BCLog::NET, "Stopping node, %s", pnode->DisconnectMsg(fLogIPs));
|
||||
pnode->CloseSocketDisconnect();
|
||||
DeleteNode(pnode);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue