Fixes a race in TestNewPayloadOnInvalidTerminalBlock where setting the TTD raced with the miner. Solution: set the TTD on the blockchain config not the genesis config. Also fixes a race in CopyHeader which resulted in race reports all over the place. |
||
|---|---|---|
| .. | ||
| api_test.go | ||
| api.go | ||
| queue.go | ||
| tester.go | ||