Makes seed be optional since this is supported in the library

This commit is contained in:
Kjetil Mehl 2021-03-07 13:53:51 +01:00
commit b77d436a43

View file

@ -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)
},