Merge pull request #8 from aspic/support-optional-seed
Let seed be optional since this is supported in the library
This commit is contained in:
commit
c44873dede
1 changed files with 1 additions and 1 deletions
2
index.ts
2
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)
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue