mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-16 20:49:05 -04:00
use result
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user