From: Chris Duncan Date: Wed, 5 Aug 2026 06:37:59 +0000 (-0700) Subject: Fix missing parenthesis. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=94a4941dcfab652fa2c8461f9b5d19c9fb0482c7;p=libnemo.git Fix missing parenthesis. --- 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)) {