Skip to content

Commit e1b776e

Browse files
committed
Merge #14140: [Net] Switch nPrevNodeCount to vNodesSize
83d5305 Switch nPrevNodeCount to vNodesSize. (Patrick Strateman) Pull request description: These both have the same value, but the variable naming is confusing. Tree-SHA512: 4f645e89efdc69884ff4c8bbcf42e2b35d2733687c0fc6ab3f0797e0141fe23ef9cde8bb6ba422f47a88f554e55a099b1f0b3f47cb9fde12db3d46b9a0041bb0
2 parents 68f3c7e + 83d5305 commit e1b776e

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)