Skip to content

Commit

Permalink
fix error doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tbro committed Jun 5, 2024
1 parent 382cd63 commit 1da39fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sequencer/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ impl ValidatedState {
}
}

/// Error type to cover possible proposal validation failures
/// Possible proposal validation failures
#[derive(Error, Debug, Eq, PartialEq)]
pub enum ProposalValidationError {
#[error("Invalid ChainConfig: expected={expected}, proposal={proposal}")]
Expand Down Expand Up @@ -320,7 +320,7 @@ pub fn validate_proposal(
Ok(())
}

/// Error type to cover possible charge fee errors
/// Possible charge fee failures
#[derive(Error, Debug, Eq, PartialEq)]
pub enum FeeError {
#[error("Insuficcient Funds: have {balance:?}, required {amount:?}")]
Expand Down Expand Up @@ -349,7 +349,7 @@ fn charge_fee(
Ok(())
}

/// Error type to cover possible builder validation failures
/// Possible builder validation failures
#[derive(Error, Debug, Eq, PartialEq)]
pub enum BuilderValidationError {
#[error("Builder signature not found")]
Expand Down

0 comments on commit 1da39fe

Please sign in to comment.