diff --git a/src/index.ts b/src/index.ts index fe1a960..9e6500a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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), }); }