Skip to content

Commit

Permalink
Merge of #6251
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Feb 28, 2023
2 parents 4de1089 + b28352f commit 3321501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-state/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub type BoxError = Box<dyn std::error::Error + Send + Sync + 'static>;

/// An error describing the reason a block could not be committed to the state.
#[derive(Debug, Error, PartialEq, Eq)]
#[error("block is not contextually valid")]
#[error("block is not contextually valid: {}", .0)]
pub struct CommitBlockError(#[from] ValidateContextError);

/// An error describing why a block failed contextual validation.
Expand Down

0 comments on commit 3321501

Please sign in to comment.