eth: fix EIP158 account cleanup on chain tracing (#19341)

Fixes #19337
ChrisChinchilla-patch-3
Jonas 6 years ago committed by Péter Szilágyi
parent 59e1953246
commit dba336e612
  1. 2
      eth/api_tracer.go

@ -295,7 +295,7 @@ func (api *PrivateDebugAPI) traceChain(ctx context.Context, start, end *types.Bl
break break
} }
// Finalize the state so any modifications are written to the trie // Finalize the state so any modifications are written to the trie
root, err := statedb.Commit(true) root, err := statedb.Commit(api.eth.chainConfig.IsEIP158(block.Number()))
if err != nil { if err != nil {
failed = err failed = err
break break

Loading…
Cancel
Save