diff options
| author | Patrick Strateman <[email protected]> | 2018-08-31 18:32:11 -0400 |
|---|---|---|
| committer | Patrick Strateman <[email protected]> | 2018-08-31 18:32:11 -0400 |
| commit | 83d53058ae240a5c396ac927972ad96d2a11e903 (patch) | |
| tree | e4ddb3d84f8aadae3f90d66e1073cce04b63f35d /src/net.cpp | |
| parent | Merge #11599: scripted-diff: Small locking rename (diff) | |
| download | discoin-83d53058ae240a5c396ac927972ad96d2a11e903.tar.xz discoin-83d53058ae240a5c396ac927972ad96d2a11e903.zip | |
Switch nPrevNodeCount to vNodesSize.
These both have the same value, but the variable naming is confusing.
Diffstat (limited to 'src/net.cpp')
| -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 ad9c5e1d8..e9e9cf4c9 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); } // |