mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-24 23:19:34 -05:00
Refresh monero monitoring wallet at startup to ensure daemon is is available
This commit is contained in:
parent
d664f1e71d
commit
844ebc7de3
@ -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…
Reference in New Issue
Block a user