mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 02:12:33 +00:00
fix typos (#4838)
This commit is contained in:
@@ -280,7 +280,7 @@ impl<T: BeaconChainTypes, C: BlockStorage> ChainCollection<T, C> {
|
||||
old_id = Some(Some(syncing_id));
|
||||
} else {
|
||||
// chains have the same number of peers, pick the currently syncing
|
||||
// chain to avoid unnecesary switchings and try to advance it
|
||||
// chain to avoid unnecessary switchings and try to advance it
|
||||
new_id = syncing_id;
|
||||
old_id = Some(None);
|
||||
}
|
||||
|
||||
@@ -464,7 +464,7 @@ mod tests {
|
||||
log: slog::Logger,
|
||||
/// To check what does sync send to the beacon processor.
|
||||
beacon_processor_rx: mpsc::Receiver<BeaconWorkEvent<E>>,
|
||||
/// To set up different scenarios where sync is told about known/unkown blocks.
|
||||
/// To set up different scenarios where sync is told about known/unknown blocks.
|
||||
chain: Arc<FakeStorage>,
|
||||
/// Needed by range to handle communication with the network.
|
||||
cx: SyncNetworkContext<TestBeaconChainType>,
|
||||
|
||||
Reference in New Issue
Block a user