1436: Refresh monero monitoring wallet at startup to ensure daemon is is av… r=delta1 a=binarybaron

…ailable

Co-authored-by: binarybaron <86064887+binarybaron@users.noreply.github.com>
This commit is contained in:
bors[bot] 2023-08-31 12:04:54 +00:00 committed by GitHub
commit a34c112622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -541,6 +541,11 @@ async fn init_monero_wallet(
)
.await?;
monero_wallet
.refresh()
.await
.context("Failed to connect to monero daemon")?;
Ok((monero_wallet, monero_wallet_rpc_process))
}