Skip to content

Commit 5d26e36

Browse files
committed
fix(crypto): Make sure we store the store version using the right key
1 parent 5a4aa71 commit 5d26e36

File tree

1 file changed

+1
-1
lines changed
  • crates/matrix-sdk-crypto/src/store

1 file changed

+1
-1
lines changed

crates/matrix-sdk-crypto/src/store/sled.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ impl SledStore {
266266
self.outbound_group_sessions.clear()?;
267267
}
268268

269-
self.inner.insert("version", DATABASE_VERSION.to_be_bytes().as_ref())?;
269+
self.inner.insert("store_version", DATABASE_VERSION.to_be_bytes().as_ref())?;
270270
self.inner.flush()?;
271271

272272
Ok(())

0 commit comments

Comments
 (0)