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

Fixes #19337
This commit is contained in:
Jonas 2019-03-27 12:16:28 +01:00 committed by Péter Szilágyi
parent 59e1953246
commit dba336e612
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ func (api *PrivateDebugAPI) traceChain(ctx context.Context, start, end *types.Bl
break
}
// 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 {
failed = err
break