Skip to content

Commit

Permalink
Merge bitcoin#14140: [Net] Switch nPrevNodeCount to vNodesSize
Browse files Browse the repository at this point in the history
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
  • Loading branch information
laanwj authored and PastaPastaPasta committed Jun 10, 2020
1 parent f5d65e0 commit aae509e
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 @@ -1395,7 +1395,7 @@ void CConnman::NotifyNumConnectionsChanged()
if(vNodesSize != nPrevNodeCount) {
nPrevNodeCount = vNodesSize;
if(clientInterface)
clientInterface->NotifyNumConnectionsChanged(nPrevNodeCount);
clientInterface->NotifyNumConnectionsChanged(vNodesSize);
}
}

Expand Down

0 comments on commit aae509e

Please sign in to comment.