Fix typos (#3956)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
0821e30623
commit
a0c65181cb
|
@ -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> {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue