mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core: temporarily change genesis block beacon root for tests
This commit is contained in:
parent
0d2ec8e181
commit
bd7d2fd24b
1 changed files with 0 additions and 3 deletions
|
|
@ -491,9 +491,6 @@ func (g *Genesis) ToBlock() *types.Block {
|
|||
if head.BlobGasUsed == nil {
|
||||
head.BlobGasUsed = new(uint64)
|
||||
}
|
||||
if head.BeaconRoot == nil {
|
||||
head.BeaconRoot = new(common.Hash)
|
||||
}
|
||||
}
|
||||
}
|
||||
return types.NewBlock(head, nil, nil, nil, trie.NewStackTrie(nil)).WithWithdrawals(withdrawals)
|
||||
|
|
|
|||
Loading…
Reference in a new issue