use result

This commit is contained in:
Benjamin Kampmann
2022-04-11 20:42:35 +02:00
parent 529d1e0117
commit f79e6b87e2

View File

@@ -240,7 +240,7 @@ impl SledStore {
StoreCipher::import(passphrase, &inner)?
} else {
let ciph = StoreCipher::new()?;
db.insert("store_cipher".encode(), ciph.export(passphrase)?);
db.insert("store_cipher".encode(), ciph.export(passphrase)?)?;
ciph
};