From 484edf2cdbafaa8c5f8ab5a38f047f60f2b09ab1 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Tue, 5 Apr 2022 18:22:36 +0000 Subject: [PATCH] wallet: Remove duplicate nullifier insertion into Orchard wallet We have the same insertion a few lines earlier. --- src/rust/src/wallet.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rust/src/wallet.rs b/src/rust/src/wallet.rs index 08e87c5df..059085265 100644 --- a/src/rust/src/wallet.rs +++ b/src/rust/src/wallet.rs @@ -485,8 +485,6 @@ impl Wallet { .decrypted_notes .insert(action_idx, note_data); - self.nullifiers.insert(nf, outpoint); - // add the association between the address and the IVK used // to decrypt the note self.key_store.add_raw_address(recipient, ivk.clone());