Merge latest master

This commit is contained in:
Age Manning
2020-05-04 15:43:49 +10:00
27 changed files with 913 additions and 545 deletions

View File

@@ -288,7 +288,7 @@ impl<TSpec: EthSpec> Discovery<TSpec> {
.network_globals
.peers
.read()
.peers_on_subnet(&subnet_id)
.peers_on_subnet(subnet_id)
.count() as u64;
if peers_on_subnet < TARGET_SUBNET_PEERS {