ComputeHash computes the hash of the signed header.
()
| 63 | |
| 64 | // ComputeHash computes the hash of the signed header. |
| 65 | func (s *SignedHeader) ComputeHash() error { |
| 66 | return s.HSV.SetHash(&s.Header) |
| 67 | } |
| 68 | |
| 69 | // QueryAsTx defines a tx struct which is combined with request and signed response header |
| 70 | // for block. |