Implement fixes from PR review

This commit is contained in:
Paul Hauner
2019-06-24 15:31:36 +10:00
parent 3a196f3fdc
commit 8afe8b3569
3 changed files with 5 additions and 8 deletions

View File

@@ -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