Skip to content

Commit 66ce0c5

Browse files
use Wallet::open instead of Wallet::Client::open
1 parent a27cb6c commit 66ce0c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

swap/src/monero/wallet.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ impl Wallet {
9393

9494
/// Re-open the internally stored wallet from it's file.
9595
pub async fn re_open(&self) -> Result<()> {
96-
self.inner.open_wallet(self.name.clone()).await?;
96+
self.open(self.name.clone()).await?;
97+
9798
Ok(())
9899
}
99100

@@ -203,7 +204,7 @@ impl Wallet {
203204
}
204205
}
205206

206-
let _ = self.inner.open_wallet(self.name.clone()).await?;
207+
self.open(self.name.clone()).await?;
207208

208209
Ok(())
209210
}

0 commit comments

Comments
 (0)