mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-27 08:29:38 -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,
|
env_config,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
let _ = wallet.refresh().await?;
|
||||||
|
let _ = wallet.store().await?;
|
||||||
Ok(wallet)
|
Ok(wallet)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,6 +45,8 @@ where
|
|||||||
.await?;
|
.await?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
swap.monero_wallet.store().await?;
|
||||||
|
|
||||||
Ok(current_state)
|
Ok(current_state)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user