mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-02-01 03:12:15 +00:00
Fix tests
This commit is contained in:
parent
a0da414bca
commit
09cbc1feda
@ -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…
Reference in New Issue
Block a user