mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-02 15:32:34 +02:00
Merge #14140: [Net] Switch nPrevNodeCount to vNodesSize
83d53058ae
Switch nPrevNodeCount to vNodesSize. (Patrick Strateman)
Pull request description:
These both have the same value, but the variable naming is confusing.
Tree-SHA512: 4f645e89efdc69884ff4c8bbcf42e2b35d2733687c0fc6ab3f0797e0141fe23ef9cde8bb6ba422f47a88f554e55a099b1f0b3f47cb9fde12db3d46b9a0041bb0
This commit is contained in:
commit
e1b776eb1b
@ -1227,7 +1227,7 @@ void CConnman::ThreadSocketHandler()
|
|||||||
if(vNodesSize != nPrevNodeCount) {
|
if(vNodesSize != nPrevNodeCount) {
|
||||||
nPrevNodeCount = vNodesSize;
|
nPrevNodeCount = vNodesSize;
|
||||||
if(clientInterface)
|
if(clientInterface)
|
||||||
clientInterface->NotifyNumConnectionsChanged(nPrevNodeCount);
|
clientInterface->NotifyNumConnectionsChanged(vNodesSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user