From dadfe3f2df2c8abf866fa0f6372a39c7d9a04b63 Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Tue, 3 Dec 2024 20:36:30 -0600 Subject: [PATCH] chore: lint --- src/formatter.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/formatter.rs b/src/formatter.rs index ecb55463..a8ff6663 100644 --- a/src/formatter.rs +++ b/src/formatter.rs @@ -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) @@ -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) => {