Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 6d70b0b

Browse files
dvushavalonche
authored andcommitted
stop prefetcher in applyToBaseEnv() (#35)
1 parent ed0f5eb commit 6d70b0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

miner/algo_common.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ func (e *environmentDiff) applyToBaseEnv() {
7171
env := e.baseEnvironment
7272
env.gasPool = new(core.GasPool).AddGas(e.gasPool.Gas())
7373
env.header = e.header
74+
env.state.StopPrefetcher()
7475
env.state = e.state
7576
env.profit.Add(env.profit, e.newProfit)
7677
env.tcount += len(e.newTxs)

0 commit comments

Comments
 (0)