Skip to content

Commit

Permalink
fix: reset trace Error field when finalizing (ethereum#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp authored Aug 18, 2022
1 parent dd76f34 commit 01a0618
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/types/l2trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func NewStructLogResBasic(pc uint64, op string, gas, gasCost uint64, depth int,
logRes.Memory = logRes.Memory[:0]
logRes.Storage = nil
logRes.ExtraData = nil
logRes.Error = ""
loggerResPool.Put(logRes)
})
return logRes
Expand Down

0 comments on commit 01a0618

Please sign in to comment.