mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
parent
451acc6c7b
commit
89c941c2f9
1 changed files with 1 additions and 6 deletions
|
|
@ -664,13 +664,8 @@ func (bc *BlockChain) ProcessBlock(block *types.Block, parent *types.Header, wit
|
|||
|
||||
go func() {
|
||||
statedb.StartPrefetcher("chain", witness)
|
||||
|
||||
// Disable tracing for prefetcher executions.
|
||||
vmCfg := bc.vmConfig
|
||||
vmCfg.Tracer = nil
|
||||
|
||||
pstart := time.Now()
|
||||
res, err := bc.processor.Process(block, statedb, vmCfg, ctx)
|
||||
res, err := bc.processor.Process(block, statedb, bc.vmConfig, ctx)
|
||||
blockExecutionSerialTimer.UpdateSince(pstart)
|
||||
if err == nil {
|
||||
vstart := time.Now()
|
||||
|
|
|
|||
Loading…
Reference in a new issue