Skip to content

Commit

Permalink
Merge pull request #8 from aspic/support-optional-seed
Browse files Browse the repository at this point in the history
Let seed be optional since this is supported in the library
  • Loading branch information
numsu authored Mar 7, 2021
2 parents 0cb7476 + b77d436 commit c44873d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},

Expand Down

0 comments on commit c44873d

Please sign in to comment.