From a0c65181cb2d2945605aa80b00e0fe4b6c732fca Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Mon, 28 Mar 2022 03:13:37 +0300 Subject: [PATCH] Fix typos (#3956) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- zebra-state/src/service/watch_receiver.rs | 2 +- zebrad/src/components/sync.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zebra-state/src/service/watch_receiver.rs b/zebra-state/src/service/watch_receiver.rs index ee40eebcd..2500c425d 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 5a33bc17c..c0b4e201c 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.