mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-06-22 22:04:18 -04:00
Refresh monero monitoring wallet at startup to ensure daemon is is available
This commit is contained in:
parent
d664f1e71d
commit
844ebc7de3
1 changed files with 5 additions and 0 deletions
|
@ -541,6 +541,11 @@ async fn init_monero_wallet(
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
monero_wallet
|
||||||
|
.refresh()
|
||||||
|
.await
|
||||||
|
.context("Failed to connect to monero daemon")?;
|
||||||
|
|
||||||
Ok((monero_wallet, monero_wallet_rpc_process))
|
Ok((monero_wallet, monero_wallet_rpc_process))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue