Hash() returns the cryptographic hash of the canonical Sign Bytes of the CertificateResult
()
| 399 | |
| 400 | // Hash() returns the cryptographic hash of the canonical Sign Bytes of the CertificateResult |
| 401 | func (x *CertificateResult) Hash() []byte { |
| 402 | // convert the certificate results to proto bytes |
| 403 | bz, _ := Marshal(x) |
| 404 | // return the hash of the bytes |
| 405 | return crypto.Hash(bz) |
| 406 | } |
| 407 | |
| 408 | // REWARD RECIPIENT CODE BELOW |
| 409 |