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