*Update config save call

This commit is contained in:
Derrick Hammer 2022-12-19 11:42:32 -05:00
parent ccd2b4fd78
commit 05223c84b8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import { wordlist } from "@scure/bip39/wordlists/english";
log.setDefaultLevel(config.str("log-level")); log.setDefaultLevel(config.str("log-level"));
if (!config.str("seed")) { if (!config.str("seed")) {
config.saveConfigJson("account.json", { config.save("account.json", {
seed: bip39.generateMnemonic(wordlist), seed: bip39.generateMnemonic(wordlist),
}); });
} }