Skip to content

Commit

Permalink
refactor(middleware): fix biome warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubilmax committed Dec 11, 2024
1 parent 64bf903 commit 4912a90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ export function traced<transport extends Transport>(
}

if (receipt?.status === "0x0") throw await traceCall();
else throw new WaitForTransactionReceiptTimeoutError({ hash: res as Hash });

throw new WaitForTransactionReceiptTimeoutError({ hash: res as Hash });
} catch (error) {
if (error instanceof ExecutionRevertedTraceError) throw error;

Expand Down

0 comments on commit 4912a90

Please sign in to comment.