mirror of https://github.com/ethereum/go-ethereum
core, eth/catalyst: fix race conditions in tests (#26790)
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.pull/26820/head
parent
87186148e0
commit
5bc2ef984f
Loading…
Reference in new issue