Returns the raw 32-byte digest.
(&self)
| 33 | } |
| 34 | /// Returns the raw 32-byte digest. |
| 35 | pub fn as_bytes(&self) -> &[u8; 32] { |
| 36 | self.hash.as_bytes() |
| 37 | } |
| 38 | |
| 39 | /// Flatten a slice of addresses into a `[u8; 32 * N]` byte blob. |
| 40 | pub fn pack(addrs: &[Address]) -> Vec<u8> { |
no outgoing calls