pub fn get_attachments_commitment(note_index: NoteIdx) -> Word
Returns the commitment over all attachments of the output note at note_index.
note_index