Commit c5e5eef8 authored by Adrian Sutton's avatar Adrian Sutton

op-e2e: Make lint happy

parent f56b66c5
......@@ -58,7 +58,7 @@ func addDebugTrace(ctx context.Context, client *ethclient.Client, txHash common.
options := map[string]string{}
err := client.Client().CallContext(ctx, &result, "debug_traceTransaction", hexutil.Bytes(txHash.Bytes()), options)
if err != nil {
return fmt.Errorf("%w (tx trace unavailable: %v)", origErr, err)
return errors.Join(origErr, fmt.Errorf("tx trace unavailable: %w", err))
}
return fmt.Errorf("%w\nTxTrace: %v", origErr, result)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment