diff --git a/consensus/src/lib.rs b/consensus/src/lib.rs index a531b9a3b..97cf418b0 100644 --- a/consensus/src/lib.rs +++ b/consensus/src/lib.rs @@ -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). diff --git a/consensus/src/transactions.rs b/consensus/src/transactions.rs index 80714bf26..47b9eeaed 100644 --- a/consensus/src/transactions.rs +++ b/consensus/src/transactions.rs @@ -399,7 +399,7 @@ where )?; if !batch_veriifier.verify() { - return Err(ExtendedConsensusError::OneOrMoreBatchVerificationStatmentsInvalid); + return Err(ExtendedConsensusError::OneOrMoreBatchVerificationStatementsInvalid); } Ok(())