mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Add missing comment in net.cpp
Missed in previous backports
This commit is contained in:
parent
5f68e06a07
commit
c8e04d43f7
@ -999,6 +999,7 @@ bool CConnman::AttemptToEvictConnection()
|
||||
// Reduce to the network group with the most connections
|
||||
std::vector<NodeEvictionCandidate> vEvictionNodes = mapAddrCounts[naMostConnections];
|
||||
|
||||
// Do not disconnect peers if there is only 1 connection from their network group
|
||||
if(vEvictionNodes.empty()) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user