mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Merge #1436
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:
commit
a34c112622
@ -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))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user