p2p: add m_network to NodeEvictionCandidate struct

This commit is contained in:
Jon Atack
2021-06-10 11:44:55 +02:00
parent 7321e6f2fe
commit 4ee7aec47e
4 changed files with 6 additions and 1 deletions

View File

@@ -1023,7 +1023,7 @@ bool CConnman::AttemptToEvictConnection()
HasAllDesirableServiceFlags(node->nServices),
peer_relay_txes, peer_filter_not_null, node->nKeyedNetGroup,
node->m_prefer_evict, node->addr.IsLocal(),
node->m_inbound_onion};
node->m_inbound_onion, node->ConnectedThroughNetwork()};
vEvictionCandidates.push_back(candidate);
}
}