Not to exclude traces to precompiles on the top level (#2635)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
This commit is contained in:
ledgerwatch 2021-09-06 16:36:44 +01:00 committed by GitHub
parent ac086830fe
commit 450bd5d655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,7 +269,7 @@ func (ot *OeTracer) CaptureStart(depth int, from common.Address, to common.Addre
vmTrace.Code = code
}
}
if precompile {
if precompile && depth > 0 {
ot.precompile = true
return nil
}