Skip to main content

receipt_digest

Function receipt_digest 

Source
pub fn receipt_digest(document: &Value) -> Result<Sha256Digest, ValidationError>
Expand description

sha256:<hex> of document with object keys sorted and no whitespace (numbers as serde_json prints them; receipts are not signed here).