Verify an attested Intent node — thin wrapper over [`verify_value`].
(node: &CanonicalNode, public_key: &PublicKey)
| 219 | |
| 220 | /// Verify an attested Intent node — thin wrapper over [`verify_value`]. |
| 221 | pub fn verify(node: &CanonicalNode, public_key: &PublicKey) -> Result<()> { |
| 222 | verify_value(&node.to_value(), public_key) |
| 223 | } |
| 224 | |
| 225 | /// Produce a fully attested Memory node — the same thin wrapper over |
| 226 | /// [`attest_value`] the Intent path uses, so both node types sign through one |