From: Chris Duncan Date: Wed, 5 Aug 2026 07:50:46 +0000 (-0700) Subject: Fix missing action for seed usage. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=51cd9b8d16a109c7c6cb71dce436c67b0aa64b58;p=libnemo.git Fix missing action for seed usage. --- diff --git a/src/lib/vault/parsers.ts b/src/lib/vault/parsers.ts index 44fbcee..9e8cae9 100644 --- a/src/lib/vault/parsers.ts +++ b/src/lib/vault/parsers.ts @@ -44,7 +44,7 @@ export function parseData (action: string, data: Record) { if (!(data.seed instanceof ArrayBuffer)) { throw new TypeError('Invalid wallet seed') } - if (action === 'load') { + if (['load', 'verify'].includes(action)) { seed = data.seed.slice() } new Uint8Array(data.seed).fill(0)