From 6134d5ed8d31043113af829c8c26f3975545e768 Mon Sep 17 00:00:00 2001 From: Daksh Date: Mon, 10 Jun 2024 15:51:12 -0400 Subject: [PATCH] Remove misleading comment and label --- src/ffi.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ffi.rs b/src/ffi.rs index d909119..acbb1f1 100644 --- a/src/ffi.rs +++ b/src/ffi.rs @@ -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(¬e) { nullifiers.push(note.gen_nullifier(&sks[idx])); - continue 'outer; } }