mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-16 11:39:04 -04:00
Update wallet.rs
This commit is contained in:
parent
a8b541f705
commit
82d759cd7b
1 changed files with 10 additions and 2 deletions
|
@ -132,7 +132,10 @@ impl Wallet {
|
|||
// it saves its state correctly
|
||||
let _ = self.inner.lock().await.close_wallet().await?;
|
||||
|
||||
let _ = self.inner.lock().await
|
||||
let _ = self
|
||||
.inner
|
||||
.lock()
|
||||
.await
|
||||
.generate_from_keys(
|
||||
file_name,
|
||||
temp_wallet_address.to_string(),
|
||||
|
@ -167,7 +170,12 @@ impl Wallet {
|
|||
}
|
||||
}
|
||||
|
||||
let _ = self.inner.lock().await.open_wallet(self.name.clone()).await?;
|
||||
let _ = self
|
||||
.inner
|
||||
.lock()
|
||||
.await
|
||||
.open_wallet(self.name.clone())
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue