(message: impl Into<String>)
| 228 | } |
| 229 | |
| 230 | pub(crate) fn tree_bijection_error(message: impl Into<String>) -> PristineError { |
| 231 | invalid_path_claim_data(format!( |
| 232 | "TREE/REV_TREE invariant violation: {}", |
| 233 | message.into() |
| 234 | )) |
| 235 | } |
| 236 | |
| 237 | fn put_u64(bytes: &mut [u8; PATH_CLAIM_EVENT_SIZE], offset: usize, value: u64) { |
| 238 | bytes[offset..offset + 8].copy_from_slice(&value.to_be_bytes()); |
no test coverage detected