diff --git a/zebra-state/src/service/watch_receiver.rs b/zebra-state/src/service/watch_receiver.rs index ee40eebc..2500c425 100644 --- a/zebra-state/src/service/watch_receiver.rs +++ b/zebra-state/src/service/watch_receiver.rs @@ -19,7 +19,7 @@ use tokio::sync::watch; /// # Note /// /// If a lot of blocks are committed at the same time, -/// the watch chanel will skip some block updates, +/// the watch channel will skip some block updates, /// even though those updates were committed to the state. #[derive(Clone, Debug)] pub struct WatchReceiver { diff --git a/zebrad/src/components/sync.rs b/zebrad/src/components/sync.rs index 5a33bc17..c0b4e201 100644 --- a/zebrad/src/components/sync.rs +++ b/zebrad/src/components/sync.rs @@ -776,7 +776,7 @@ where /// Handles a response for a requested block. /// - /// Returns `Ok` if the block was successfully verified and commited to the state, or if an + /// Returns `Ok` if the block was successfully verified and committed to the state, or if an /// expected error occurred, so that the synchronization can continue normally. /// /// Returns `Err` if an unexpected error occurred, to force the synchronizer to restart.