Skip to main content

load_attachment_commitments

Function load_attachment_commitments 

Source
pub fn load_attachment_commitments(attachments_commitment: Word) -> Vec<Word>
Expand description

Loads the attachment commitments committed to by attachments_commitment from the advice map.

The advice map must contain the preimage committed to by attachments_commitment.

ยงPanics

Panics if the preimage is not a whole number of words or holds more commitments than a note can have attachments.