Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter committed Dec 4, 2024
1 parent 7560d26 commit dadfe3f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/formatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,6 @@ fn format_revert_reason(reason: &VmRevertReason) -> String {
}
fn format_halt_reason(halt: &Halt) -> String {
match halt {
// Group all Halt variants that use VmRevertReason
Halt::ValidationFailed(reason)
| Halt::PaymasterValidationFailed(reason)
| Halt::PrePaymasterPreparationFailed(reason)
Expand All @@ -938,7 +937,6 @@ fn format_halt_reason(halt: &Halt) -> String {
| Halt::Unknown(reason) => {
format!("Halt({})", format_revert_reason(reason))
}
// Handle non-VmRevertReason variants individually
Halt::FromIsNotAnAccount => "Halt(FromIsNotAnAccount)".to_string(),
Halt::InnerTxError => "Halt(InnerTxError)".to_string(),
Halt::UnexpectedVMBehavior(msg) => {
Expand Down

0 comments on commit dadfe3f

Please sign in to comment.