mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Switch nPrevNodeCount to vNodesSize.
These both have the same value, but the variable naming is confusing.
This commit is contained in:
@@ -1227,7 +1227,7 @@ void CConnman::ThreadSocketHandler()
|
||||
if(vNodesSize != nPrevNodeCount) {
|
||||
nPrevNodeCount = vNodesSize;
|
||||
if(clientInterface)
|
||||
clientInterface->NotifyNumConnectionsChanged(nPrevNodeCount);
|
||||
clientInterface->NotifyNumConnectionsChanged(vNodesSize);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user