From 6047838f53092aa44b3ea3f10a7a7dfdfd353079 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 20 Nov 2018 16:17:58 +0000 Subject: [PATCH] lint --- src/client.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client.js b/src/client.js index cd236aedb..8ac8b6a1f 100644 --- a/src/client.js +++ b/src/client.js @@ -875,9 +875,8 @@ MatrixClient.prototype.prepareKeyBackupVersion = async function(password) { const decryption = new global.Olm.PkDecryption(); try { - let privateKey; let publicKey; - let authData = {}; + const authData = {}; if (password) { const keyInfo = await keyForNewBackup(password); publicKey = decryption.init_with_private_key(keyInfo.key);