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; } }