From 94a4941dcfab652fa2c8461f9b5d19c9fb0482c7 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 4 Aug 2026 23:37:59 -0700 Subject: [PATCH] Fix missing parenthesis. --- src/lib/vault/parsers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/vault/parsers.ts b/src/lib/vault/parsers.ts index 34d4970..17909aa 100644 --- a/src/lib/vault/parsers.ts +++ b/src/lib/vault/parsers.ts @@ -41,7 +41,7 @@ export function parseData (action: string, data: Record) { // Seed to load if (action === 'load') { - if (!('seed' in data) { + if (data.seed == null) { throw new TypeError('Seed required to load wallet') } if (!(data.seed instanceof ArrayBuffer)) { -- 2.52.0