Skip to main content

serialize_single_node_proof

Function serialize_single_node_proof 

Source
pub fn serialize_single_node_proof(
    proof: &PaymentProof,
) -> Result<Vec<u8>, Error>
Expand description

Serialize a PaymentProof (single-node) with the version tag prefix.

ยงErrors

Returns an error if serialization fails.