fix command

This commit is contained in:
DenioD
2020-10-01 20:40:16 +02:00
parent 980c341d0e
commit 8535a11e37
3 changed files with 9 additions and 4 deletions

View File

@@ -1018,7 +1018,7 @@ impl LightClient {
}
let new_address = {
let wallet = self.wallet.write().unwrap();
let mut wallet = self.wallet.write().unwrap();
let addr = wallet.import_taddr(sk, birthday);
if addr.starts_with("Error") {