From bf4627314a90b599486ac486ea573d81a80b72e3 Mon Sep 17 00:00:00 2001 From: binarybaron <86064887+binarybaron@users.noreply.github.com> Date: Sun, 9 Jun 2024 12:12:00 +0200 Subject: [PATCH] Update wallet.rs --- swap/src/monero/wallet.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/swap/src/monero/wallet.rs b/swap/src/monero/wallet.rs index c009a93c..c81deeb2 100644 --- a/swap/src/monero/wallet.rs +++ b/swap/src/monero/wallet.rs @@ -147,7 +147,13 @@ impl Wallet { // Try to send all the funds from the generated wallet to the default wallet match self.refresh(3).await { - Ok(_) => match self.inner.lock().await.sweep_all(self.main_address.to_string()).await { + Ok(_) => match self + .inner + .lock() + .await + .sweep_all(self.main_address.to_string()) + .await + { Ok(sweep_all) => { for tx in sweep_all.tx_hash_list { tracing::info!(