Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Boog900 committed May 10, 2024
1 parent 95eedca commit e112e6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion consensus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub enum ExtendedConsensusError {
TxsIncludedWithBlockIncorrect,
/// One or more statements in the batch verifier was invalid.
#[error("One or more statements in the batch verifier was invalid.")]
OneOrMoreBatchVerificationStatmentsInvalid,
OneOrMoreBatchVerificationStatementsInvalid,
}

/// Initialize the 2 verifier [`tower::Service`]s (block and transaction).
Expand Down
2 changes: 1 addition & 1 deletion consensus/src/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ where
)?;

if !batch_veriifier.verify() {
return Err(ExtendedConsensusError::OneOrMoreBatchVerificationStatmentsInvalid);
return Err(ExtendedConsensusError::OneOrMoreBatchVerificationStatementsInvalid);
}

Ok(())
Expand Down

0 comments on commit e112e6f

Please sign in to comment.