From af7e441c7cef81242a317164558b0f7627be35ca Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 21 Dec 2022 16:12:33 -0500 Subject: [PATCH] *save no longer needs file extension --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 471dbf9..0569913 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,7 +8,7 @@ import * as bip39 from "@scure/bip39"; import { wordlist } from "@scure/bip39/wordlists/english"; if (!config.str("seed")) { - config.save("account.json", { + config.save("account", { seed: bip39.generateMnemonic(wordlist), }); }