Browse Source

Fix tests

checkpoints
Aditya Kulkarni 5 years ago
parent
commit
09cbc1feda
  1. 4
      lib/src/lightclient.rs

4
lib/src/lightclient.rs

@ -1161,7 +1161,11 @@ pub mod tests {
lc.wallet.write().unwrap().unlock("password".to_string()).unwrap();
assert!(!lc.do_export(None).is_err());
assert!(!lc.do_seed_phrase().is_err());
// This will lock the wallet again, so after this, we'll need to unlock again
assert!(!lc.do_new_address("t").is_err());
lc.wallet.write().unwrap().unlock("password".to_string()).unwrap();
assert!(!lc.do_new_address("z").is_err());
}

Loading…
Cancel
Save