*validateMnemonic returns a boolean

This commit is contained in:
Derrick Hammer 2022-12-18 13:42:41 -05:00
parent db4b61bdd9
commit 7fad293bdc
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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.");
}