Skip to content

Commit

Permalink
Remove misleading comment and label
Browse files Browse the repository at this point in the history
  • Loading branch information
Daksh14 committed Jun 10, 2024
1 parent 14f1438 commit 6134d5e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,13 +418,10 @@ pub fn nullifiers(args: i32, len: i32) -> i64 {
let vks: [ViewKey; MAX_KEY] =
core::array::from_fn(|i| key::derive_vk(&seed, i as _));

'outer: for note in notes {
// we iterate all the available view key until one can successfully
// decrypt the note. if any fails, returns false
for note in notes {
for idx in 0..MAX_KEY {
if vks[idx].owns(&note) {
nullifiers.push(note.gen_nullifier(&sks[idx]));
continue 'outer;
}
}

Expand Down

0 comments on commit 6134d5e

Please sign in to comment.