|
|
@ -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?;
|
|
|
|