eth/tracers: fix compilation flaw

This commit is contained in:
Martin Holst Swende 2024-12-03 11:14:49 +01:00
parent a4853ad7b8
commit 68f21b45ec
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -88,7 +88,7 @@ func BenchmarkTransactionTraceV2(b *testing.B) {
b.ReportAllocs() b.ReportAllocs()
for i := 0; i < b.N; i++ { for i := 0; i < b.N; i++ {
tracer := logger.NewStructLogger(&logger.Config{Debug: false}).Hooks() tracer := logger.NewStructLogger(&logger.Config{}).Hooks()
tracer.OnTxStart(evm.GetVMContext(), tx, msg.From) tracer.OnTxStart(evm.GetVMContext(), tx, msg.From)
evm.Config.Tracer = tracer evm.Config.Tracer = tracer