Switch nPrevNodeCount to vNodesSize.

These both have the same value, but the variable naming is confusing.
This commit is contained in:
Patrick Strateman 2018-08-31 18:32:11 -04:00
parent 59ecacfc84
commit 83d53058ae

View file

@ -1227,7 +1227,7 @@ void CConnman::ThreadSocketHandler()
if(vNodesSize != nPrevNodeCount) {
nPrevNodeCount = vNodesSize;
if(clientInterface)
clientInterface->NotifyNumConnectionsChanged(nPrevNodeCount);
clientInterface->NotifyNumConnectionsChanged(vNodesSize);
}
//