From 14c491ab3140ad3b7945c303df78b65f097b41b9 Mon Sep 17 00:00:00 2001 From: jpuri Date: Mon, 9 May 2022 23:04:32 +0530 Subject: [PATCH] Fix in unlock function to always unlock ledger for current hdPath --- index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.js b/index.js index fb7d84dd..6ae2d265 100644 --- a/index.js +++ b/index.js @@ -120,9 +120,6 @@ class LedgerBridgeKeyring extends EventEmitter { } unlock (hdPath) { - if (this.isUnlocked() && !hdPath) { - return Promise.resolve('already unlocked') - } const path = hdPath ? this._toLedgerPath(hdPath) : this.hdPath return new Promise((resolve, reject) => { this._sendMessage({