From 82d759cd7bd686f94b70aacd084e8c8d04d1e3c0 Mon Sep 17 00:00:00 2001 From: binarybaron <86064887+binarybaron@users.noreply.github.com> Date: Sun, 9 Jun 2024 12:00:25 +0200 Subject: [PATCH] Update wallet.rs --- swap/src/monero/wallet.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/swap/src/monero/wallet.rs b/swap/src/monero/wallet.rs index 495c2351..bb01f13e 100644 --- a/swap/src/monero/wallet.rs +++ b/swap/src/monero/wallet.rs @@ -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(()) }