Fix race condition in the syncing sim (#944)

* Fix race condition in the syncing sim

* Update another strategy
This commit is contained in:
Age Manning
2020-03-23 18:28:13 +11:00
committed by GitHub
parent 47aef629d1
commit f8bc045a01
2 changed files with 9 additions and 5 deletions

View File

@@ -94,7 +94,7 @@ impl<E: EthSpec> LocalNetwork<E> {
.expect("bootnode must have a network"),
);
})
.expect("should have atleast one node");
.expect("should have at least one node");
let index = self.beacon_nodes.read().len();