From: Kjetil Mehl Date: Sun, 7 Mar 2021 12:53:51 +0000 (+0100) Subject: Makes seed be optional since this is supported in the library X-Git-Tag: v0.0.1~22^2 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=b77d436a436bceceac3056a4090419442e204371;p=libnemo.git Makes seed be optional since this is supported in the library --- 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) },