diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-09-04 12:21:16 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-09-04 12:27:15 +0200 |
commit | e1b776eb1b340400e97500d05aed81d31b7c72d5 (patch) | |
tree | 9d96d4a7ff4a26a15c09c57057d59519502e9ab8 | |
parent | 68f3c7eb080e461cfeac37f8db7034fe507241d0 (diff) | |
parent | 83d53058ae240a5c396ac927972ad96d2a11e903 (diff) |
Merge #14140: [Net] Switch nPrevNodeCount to vNodesSize
83d53058ae240a5c396ac927972ad96d2a11e903 Switch nPrevNodeCount to vNodesSize. (Patrick Strateman)
Pull request description:
These both have the same value, but the variable naming is confusing.
Tree-SHA512: 4f645e89efdc69884ff4c8bbcf42e2b35d2733687c0fc6ab3f0797e0141fe23ef9cde8bb6ba422f47a88f554e55a099b1f0b3f47cb9fde12db3d46b9a0041bb0
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index ad9c5e1d81..e9e9cf4c92 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1227,7 +1227,7 @@ void CConnman::ThreadSocketHandler() if(vNodesSize != nPrevNodeCount) { nPrevNodeCount = vNodesSize; if(clientInterface) - clientInterface->NotifyNumConnectionsChanged(nPrevNodeCount); + clientInterface->NotifyNumConnectionsChanged(vNodesSize); } // |