mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
eth/tracers: fix compilation flaw
This commit is contained in:
parent
a4853ad7b8
commit
68f21b45ec
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue