diff --git a/core/types/block.go b/core/types/block.go index efc427b209..4857cd6e50 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -260,6 +260,7 @@ func NewBlock(header *Header, body *Body, receipts []*Receipt, hasher TrieHasher b.header.WithdrawalsHash = nil } else if len(withdrawals) == 0 { b.header.WithdrawalsHash = &EmptyWithdrawalsHash + b.withdrawals = Withdrawals{} } else { hash := DeriveSha(Withdrawals(withdrawals), hasher) b.header.WithdrawalsHash = &hash