misc fixes

This commit is contained in:
Aiden McClelland
2024-04-09 14:04:31 -06:00
parent 313e415ee9
commit f07992c091
9 changed files with 43 additions and 16 deletions

View File

@@ -96,7 +96,11 @@ pub async fn recover_full_embassy(
.with_kind(ErrorKind::PasswordHashGeneration)?;
let db = ctx.db().await?;
db.put(&ROOT, &Database::init(&os_backup.account)?).await?;
db.put(
&ROOT,
&Database::init(&os_backup.account, ctx.config.wifi_interface.clone())?,
)
.await?;
drop(db);
init(&ctx.config).await?;