cmd/devp2p, eth/protocols/eth: fix tests + make sanity checks earlier (#22749)

This commit is contained in:
Martin Holst Swende
2021-04-28 08:48:07 +02:00
committed by GitHub
parent d9c9ee5ac9
commit 0c99868416
4 changed files with 16 additions and 8 deletions

View File

@ -70,7 +70,7 @@ func largeHeader() *types.Header {
GasUsed: 0,
Coinbase: common.Address{},
GasLimit: 0,
UncleHash: randHash(),
UncleHash: types.EmptyUncleHash,
Time: 1337,
ParentHash: randHash(),
Root: randHash(),