From 7fad293bdc726d1dbff3c0259b7085ea395ff740 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 18 Dec 2022 13:42:41 -0500 Subject: [PATCH] *validateMnemonic returns a boolean --- src/lib/seed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/seed.ts b/src/lib/seed.ts index cc3ec11..a3b3b6d 100644 --- a/src/lib/seed.ts +++ b/src/lib/seed.ts @@ -8,7 +8,7 @@ export function getSeed() { const seed = config.str("seed"); let err = bip39.validateMnemonic(seed, wordlist); - if (err !== null) { + if (err) { errorExit("LUME_WEB_RELAY_SEED is invalid. Aborting."); }