From b77d436a436bceceac3056a4090419442e204371 Mon Sep 17 00:00:00 2001 From: Kjetil Mehl Date: Sun, 7 Mar 2021 13:53:51 +0100 Subject: [PATCH] Makes seed be optional since this is supported in the library --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index b4b31fc..b91b080 100644 --- a/index.ts +++ b/index.ts @@ -55,7 +55,7 @@ const wallet = { * @param {string} [seed] - (Optional) 64 byte hexadecimal string seed to be used instead of generating * @returns the generated mnemonic, seed and account */ - generateLegacy: (seed: string): Wallet => { + generateLegacy: (seed?: string): Wallet => { return generator.generateLegacyWallet(seed) },