Closed ipapandinas closed 1 year ago
Parameters are not spread to the mnemonicGenerate function inside the generateAccount helper. Otherwise it can lead to account creation duplicates.
mnemonicGenerate
generateAccount
Generate several seed phrases.
To avoid ths wrong behaviour, mnemonicGenerate must be used with the following parameters:
mnemonicGenerate(12, true)
We are going to remove generateAccount helper since it is useless then.
No response
Describe the bug
Parameters are not spread to the
mnemonicGenerate
function inside thegenerateAccount
helper. Otherwise it can lead to account creation duplicates.To reproduce
Generate several seed phrases.
Expected behavior
To avoid ths wrong behaviour,
mnemonicGenerate
must be used with the following parameters:We are going to remove
generateAccount
helper since it is useless then.Screenshots
No response
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional context
No response