-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(noir-contracts): 1655 - rename functions to make hack clearer f…
…or publicly created notes (#2230) Resolves #1655 `assert_contains_and_remove` has a hack that makes it only work for publicly created note hashes. This PR renames the function to make it clear that it only works for publicly created note hashes. It also renames `assert_contains_note_and_remove` to `assert_contains_and_remove` with a TODO to tweak it to only `ensure_note_hash_exists` instead of `ensure_note_exists` once `get_commitment` supports privately created commitments.
- Loading branch information
Showing
4 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters