mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
fix: reset trace Error field when finalizing (#143)
This commit is contained in:
parent
dd76f3425a
commit
01a0618b02
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue