Skip to content

Commit

Permalink
fix tracemany error format
Browse files Browse the repository at this point in the history
  • Loading branch information
zfy0701 committed Nov 6, 2023
1 parent 29a1149 commit be135a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion turbo/jsonrpc/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,10 @@ func (api *PrivateDebugAPIImpl) TraceCallMany(ctx context.Context, bundles []Bun
err = transactions.TraceTx(ctx, msg, blockCtx, txCtx, evm.IntraBlockState(), config, chainConfig, stream, api.evmCallTimeout)

if err != nil {
stream.WriteNil()
stream.WriteArrayEnd()
stream.WriteArrayEnd()
stream.WriteMore()
stream.WriteObjectField("resultHack")
return err
}

Expand Down

0 comments on commit be135a2

Please sign in to comment.