Skip to content

Commit

Permalink
Update core/types/block.go
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman authored and MariusVanDerWijden committed Jan 25, 2023
1 parent 7b073d1 commit 3481ebc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions core/types/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,15 +350,6 @@ func (b *Block) BaseFee() *big.Int {
return new(big.Int).Set(b.header.BaseFee)
}

func (b *Block) WithdrawalsHash() *common.Hash {
if b.header.WithdrawalsHash == nil {
return nil
}
var h common.Hash
h.SetBytes(b.header.WithdrawalsHash.Bytes())
return &h
}

func (b *Block) Withdrawals() Withdrawals {
return b.withdrawals
}
Expand Down

0 comments on commit 3481ebc

Please sign in to comment.