Fixed tracing of the chain. Without this, the tracer will eventually run out of founds.

Fixes #19337
This commit is contained in:
Jonas Felber 2019-03-27 10:50:17 +01:00
parent 59e1953246
commit 5fa54e9e69

View file

@ -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