mirror of https://github.com/ethereum/go-ethereum
miner: fix data race during shutdown (#23435)
This fixes a data race on worker.current by moving the call to StopPrefetcher into the main loop. The commit also contains fixes for two other races in unit tests of unrelated packages.pull/23699/head
parent
28d30b51f8
commit
ee120ef865
Loading…
Reference in new issue