mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 22:08:30 +00:00
Implement fixes from PR review
This commit is contained in:
@@ -87,7 +87,7 @@ impl<T: BeaconChainTypes> ForkChoice<T> {
|
||||
start_state
|
||||
.validator_registry
|
||||
.get(validator_index)
|
||||
.and_then(|v| Some(v.effective_balance))
|
||||
.map(|v| v.effective_balance)
|
||||
};
|
||||
|
||||
self.backend
|
||||
|
||||
@@ -33,7 +33,7 @@ fn fork() {
|
||||
let honest_fork_blocks = delay + 1;
|
||||
let faulty_fork_blocks = delay + 2;
|
||||
|
||||
// Build an initial chain were all validators agree.
|
||||
// Build an initial chain where all validators agree.
|
||||
harness.extend_chain(
|
||||
initial_blocks,
|
||||
BlockStrategy::OnCanonicalHead,
|
||||
|
||||
Reference in New Issue
Block a user