mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-07 05:52:31 -04:00
Print message upon syncing monero wallet
This commit is contained in:
parent
3bdc41d509
commit
2e7954fcbb
1 changed files with 1 additions and 0 deletions
|
@ -247,6 +247,7 @@ async fn next_state(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure that the generated wallet is synced so we have a proper balance
|
// Ensure that the generated wallet is synced so we have a proper balance
|
||||||
|
tracing::info!("Syncing Monero wallet. This might take some time...");
|
||||||
monero_wallet.refresh().await?;
|
monero_wallet.refresh().await?;
|
||||||
// Sweep (transfer all funds) to the given address
|
// Sweep (transfer all funds) to the given address
|
||||||
let tx_hashes = monero_wallet.sweep_all(monero_receive_address).await?;
|
let tx_hashes = monero_wallet.sweep_all(monero_receive_address).await?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue