> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Function assert_local_note_was_not_nullified_by

Module: `noir_aztec::history::note`

```rust
pub fn assert_local_note_was_not_nullified_by<Note>(
    block_header: BlockHeader,
    confirmed_note: ConfirmedNote<Note>,
    context: &mut PrivateContext,
)
where
    Note: NoteHash
```

Asserts a note had **not** been nullified by a given block.

## Local notes only

This can only be used for notes of the executing contract. Use [`assert_note_existed_by`](/aztec-nr-api/v6.0.0/noir_aztec/history/note/fn.assert_note_existed_by.md) on its own to prove existence of another contract's notes.
