From d8c8599653633a1ce9e65ad9ee880faea34698ad Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Fri, 26 Jun 2026 22:38:08 -0700 Subject: [PATCH] Fix Ledger status reporting. --- src/lib/ledger/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/ledger/index.ts b/src/lib/ledger/index.ts index cda83f7..c7f80a3 100644 --- a/src/lib/ledger/index.ts +++ b/src/lib/ledger/index.ts @@ -98,7 +98,6 @@ export class Ledger { this.#transport ??= TransportUSB return false } - this.status = 'UNSUPPORTED' return true } @@ -108,7 +107,7 @@ export class Ledger { * UNSUPPORTED | DISCONNECTED | BUSY | LOCKED | CONNECTED */ static get status (): LedgerStatus { - return this.#status + return this.isUnsupported ? 'UNSUPPORTED' : this.#status } /** -- 2.52.0