Print message upon syncing monero wallet

This commit is contained in:
binarybaron 2023-08-31 12:15:07 +02:00
parent 3bdc41d509
commit 2e7954fcbb

View File

@ -247,6 +247,7 @@ async fn next_state(
}
// 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?;
// Sweep (transfer all funds) to the given address
let tx_hashes = monero_wallet.sweep_all(monero_receive_address).await?;