Commit dba336e6 authored by Jonas's avatar Jonas Committed by Péter Szilágyi

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

Fixes #19337
parent 59e19532
...@@ -295,7 +295,7 @@ func (api *PrivateDebugAPI) traceChain(ctx context.Context, start, end *types.Bl ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment