mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 10:22:38 +00:00
## Proposed Changes
This reverts commit 53562010ec from PR #2724
Hopefully this will restore the reliability of the sync simulator.
This commit is contained in:
@@ -679,7 +679,8 @@ impl<TSpec: EthSpec> Discovery<TSpec> {
|
||||
// Determine if we have sufficient peers, which may make this discovery unnecessary.
|
||||
let peers_on_subnet = self
|
||||
.network_globals
|
||||
.peers()
|
||||
.peers
|
||||
.read()
|
||||
.good_peers_on_subnet(subnet_query.subnet)
|
||||
.count();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user