ParentHash returns the parent hash field of the block header.
()
| 153 | |
| 154 | // ParentHash returns the parent hash field of the block header. |
| 155 | func (b *Block) ParentHash() *hash.Hash { |
| 156 | return &b.SignedHeader.ParentHash |
| 157 | } |
| 158 | |
| 159 | // BlockHash returns the parent hash field of the block header. |
| 160 | func (b *Block) BlockHash() *hash.Hash { |
no outgoing calls
no test coverage detected