Skip to content

Commit

Permalink
stop prefetcher in applyToBaseEnv() (ethereum#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush authored and avalonche committed Mar 9, 2023
1 parent 007a308 commit fd8e376
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions miner/algo_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func (e *environmentDiff) applyToBaseEnv() {
env := e.baseEnvironment
env.gasPool = new(core.GasPool).AddGas(e.gasPool.Gas())
env.header = e.header
env.state.StopPrefetcher()
env.state = e.state
env.profit.Add(env.profit, e.newProfit)
env.tcount += len(e.newTxs)
Expand Down

0 comments on commit fd8e376

Please sign in to comment.