mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 19:02:42 +00:00
Underflow and Typo (#6885)
I was looking at sync and noticed a potential underflow and a typo, so just fixed those whilst I was in there.
This commit is contained in:
@@ -86,7 +86,7 @@ impl<T: BeaconChainTypes> ChainCollection<T> {
|
||||
RangeSyncState::Head(syncing_head_ids)
|
||||
};
|
||||
} else {
|
||||
// we removed a head chain, or an stoped finalized chain
|
||||
// we removed a head chain, or a stopped finalized chain
|
||||
debug_assert!(!was_syncing || sync_type != RangeSyncType::Finalized);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user