From 397a35a8431b8e7bd7d53342501dbc2279c6956d Mon Sep 17 00:00:00 2001 From: Daksh Date: Mon, 10 Jun 2024 16:37:32 -0400 Subject: [PATCH] add the break statement --- src/ffi.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ffi.rs b/src/ffi.rs index acbb1f1..d40d79b 100644 --- a/src/ffi.rs +++ b/src/ffi.rs @@ -422,6 +422,7 @@ pub fn nullifiers(args: i32, len: i32) -> i64 { for idx in 0..MAX_KEY { if vks[idx].owns(¬e) { nullifiers.push(note.gen_nullifier(&sks[idx])); + break; } }