*Update config save call
This commit is contained in:
parent
ccd2b4fd78
commit
05223c84b8
|
@ -11,7 +11,7 @@ import { wordlist } from "@scure/bip39/wordlists/english";
|
|||
log.setDefaultLevel(config.str("log-level"));
|
||||
|
||||
if (!config.str("seed")) {
|
||||
config.saveConfigJson("account.json", {
|
||||
config.save("account.json", {
|
||||
seed: bip39.generateMnemonic(wordlist),
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue