BlockHash returns the parent hash field of the block header.
()
| 158 | |
| 159 | // BlockHash returns the parent hash field of the block header. |
| 160 | func (b *Block) BlockHash() *hash.Hash { |
| 161 | return &b.SignedHeader.HSV.DataHash |
| 162 | } |
| 163 | |
| 164 | // GenesisHash returns the parent hash field of the block header. |
| 165 | func (b *Block) GenesisHash() *hash.Hash { |
no outgoing calls