mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-26 07:59:28 -05:00
Refresh and store wallet upon asb startup
This commit is contained in:
parent
0960ec1ce9
commit
6023dc27d2
@ -361,7 +361,8 @@ async fn init_monero_wallet(
|
||||
env_config,
|
||||
)
|
||||
.await?;
|
||||
|
||||
let _ = wallet.refresh().await?;
|
||||
let _ = wallet.store().await?;
|
||||
Ok(wallet)
|
||||
}
|
||||
|
||||
|
@ -45,6 +45,8 @@ where
|
||||
.await?;
|
||||
}
|
||||
|
||||
swap.monero_wallet.store().await?;
|
||||
|
||||
Ok(current_state)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user