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. |
||
|---|---|---|
| .. | ||
| stress | ||
| miner_test.go | ||
| miner.go | ||
| unconfirmed_test.go | ||
| unconfirmed.go | ||
| worker_test.go | ||
| worker.go | ||