aztec-nr - noir_aztec::note::utils

Function compute_confirmed_note_hash_for_nullification

pub fn compute_confirmed_note_hash_for_nullification<Note>(
    confirmed_note: ConfirmedNote<Note>,
) -> Field

Same as compute_note_hash_for_nullification, except it takes the note hash used in a read request (i.e. what compute_note_existence_request would return). This is useful in scenarios where that hash has already been computed to reduce constraints by reusing this value.