Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
Dimitris Apostolou 2022-03-28 03:13:37 +03:00 committed by GitHub
parent 0821e30623
commit a0c65181cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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