From 56cdb988f5f84861aab4e386eab25d98e761d89e Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 23 Sep 2025 07:27:38 -0700 Subject: [PATCH] Log when click activation ends when disconnecting Ledger. Blank out local copy of mnemonic or seed when verifying Ledger. --- src/lib/ledger.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/ledger.ts b/src/lib/ledger.ts index 2de4ffc..a5bcd97 100644 --- a/src/lib/ledger.ts +++ b/src/lib/ledger.ts @@ -219,6 +219,7 @@ export class Ledger { console.warn('Ledger.disconnect()', err) } finally { await new Promise(r => setTimeout(r, 5000)) + console.log('Transient user activation period timed out') } }) } @@ -316,6 +317,7 @@ export class Ledger { static async verify (mnemonic: string): Promise static async verify (secret: string): Promise { const testWallet = await Wallet.load('BIP-44', '', secret) + secret = '' await testWallet.unlock('') const testAccount = await testWallet.account(0) const testOpenBlock = await new Block(testAccount.address, '0', testAccount.publicKey, testAccount.address) -- 2.47.3