Skip to content

Commit

Permalink
Switch nPrevNodeCount to vNodesSize.
Browse files Browse the repository at this point in the history
These both have the same value, but the variable naming is confusing.
  • Loading branch information
pstratem committed Aug 31, 2018
1 parent 59ecacf commit 83d5305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ void CConnman::ThreadSocketHandler()
if(vNodesSize != nPrevNodeCount) {
nPrevNodeCount = vNodesSize;
if(clientInterface)
clientInterface->NotifyNumConnectionsChanged(nPrevNodeCount);
clientInterface->NotifyNumConnectionsChanged(vNodesSize);
}

//
Expand Down

0 comments on commit 83d5305

Please sign in to comment.