From 83d53058ae240a5c396ac927972ad96d2a11e903 Mon Sep 17 00:00:00 2001 From: Patrick Strateman Date: Fri, 31 Aug 2018 18:32:11 -0400 Subject: [PATCH] Switch nPrevNodeCount to vNodesSize. These both have the same value, but the variable naming is confusing. --- src/net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } //