plugeth/eth/gasprice
Marius van der Wijden ee120ef865
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.
2021-10-08 20:12:52 +02:00
..
feehistory_test.go eth/gasprice: feeHistory improvements (#23422) 2021-08-23 23:50:24 +02:00
feehistory.go eth/gasprice: feeHistory improvements (#23422) 2021-08-23 23:50:24 +02:00
gasprice_test.go miner: fix data race during shutdown (#23435) 2021-10-08 20:12:52 +02:00
gasprice.go eth/gasprice: feeHistory improvements (#23422) 2021-08-23 23:50:24 +02:00