mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04: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