diff options
author | Patrick Strateman <patrick.strateman@gmail.com> | 2018-08-31 18:32:11 -0400 |
---|---|---|
committer | Patrick Strateman <patrick.strateman@gmail.com> | 2018-08-31 18:32:11 -0400 |
commit | 83d53058ae240a5c396ac927972ad96d2a11e903 (patch) | |
tree | e4ddb3d84f8aadae3f90d66e1073cce04b63f35d | |
parent | 59ecacfc84af13e5a1608e7d970315d07dcb0269 (diff) |
Switch nPrevNodeCount to vNodesSize.
These both have the same value, but the variable naming is confusing.
-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); } // |