Refresh and store wallet upon asb startup

This commit is contained in:
pokkst 2023-08-12 22:06:08 -05:00
parent 0960ec1ce9
commit 6023dc27d2
No known key found for this signature in database
GPG Key ID: 90C2ED85E67A50FF
2 changed files with 4 additions and 1 deletions

View File

@ -361,7 +361,8 @@ async fn init_monero_wallet(
env_config,
)
.await?;
let _ = wallet.refresh().await?;
let _ = wallet.store().await?;
Ok(wallet)
}

View File

@ -45,6 +45,8 @@ where
.await?;
}
swap.monero_wallet.store().await?;
Ok(current_state)
}