From 05223c84b85d27644bfc1e4b25f29a67d1c21227 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 19 Dec 2022 11:42:32 -0500 Subject: [PATCH] *Update config save call --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), }); }