Skip to content

Commit 83d5305

Browse files
committed
Switch nPrevNodeCount to vNodesSize.
These both have the same value, but the variable naming is confusing.
1 parent 59ecacf commit 83d5305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ void CConnman::ThreadSocketHandler()
12271227
if(vNodesSize != nPrevNodeCount) {
12281228
nPrevNodeCount = vNodesSize;
12291229
if(clientInterface)
1230-
clientInterface->NotifyNumConnectionsChanged(nPrevNodeCount);
1230+
clientInterface->NotifyNumConnectionsChanged(vNodesSize);
12311231
}
12321232

12331233
//

0 commit comments

Comments
 (0)