Add bug detection

This commit is contained in:
Aditya Kulkarni
2019-10-19 16:23:32 -07:00
parent 89a5fc0ea1
commit 3ebc46185c
3 changed files with 91 additions and 16 deletions

View File

@@ -47,6 +47,7 @@ mod extended_key;
mod utils;
mod address;
mod prover;
pub mod bugs;
use data::{BlockData, WalletTx, Utxo, SaplingNoteData, SpendableNote, OutgoingTxMetadata};
use extended_key::{KeyIndex, ExtendedPrivKey};
@@ -626,7 +627,6 @@ impl LightWallet {
format!("fvk mismatch at {}. {:?} vs {:?}", pos, extfvk, self.extfvks.read().unwrap()[pos])));
}
// Don't add it to self yet, we'll do that at the end when everything is verified
extsks.push(extsk);
}