Skip to content

Commit b3fd92a

Browse files
authored
fix(crypto): remove duplicate deleteSecretStorage in RustCrypto.resetEncryption (#4789)
1 parent ba71235 commit b3fd92a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/rust-crypto/rust-crypto.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,6 @@ export class RustCrypto extends TypedEventEmitter<RustCryptoEvents, CryptoEventH
14651465
// Disable backup, and delete all the backups from the server
14661466
await this.backupManager.deleteAllKeyBackupVersions();
14671467

1468-
this.deleteSecretStorage();
14691468
await this.deleteSecretStorage();
14701469

14711470
// Reset the cross-signing keys

0 commit comments

Comments
 (0)