diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net.cpp | 2 | ||||
-rw-r--r-- | src/net.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp index 9b18a32743..508b0dd962 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -820,8 +820,6 @@ size_t SocketSendData(CNode *pnode) return nSentSize; } -static std::list<CNode*> vNodesDisconnected; - struct NodeEvictionCandidate { NodeId id; @@ -292,6 +292,7 @@ private: std::vector<std::string> vAddedNodes; CCriticalSection cs_vAddedNodes; std::vector<CNode*> vNodes; + std::list<CNode*> vNodesDisconnected; mutable CCriticalSection cs_vNodes; std::atomic<NodeId> nLastNodeId; boost::condition_variable messageHandlerCondition; |