mirror of https://github.com/status-im/bip39.git
remove unnecessary argument
This commit is contained in:
parent
ee4f7ead7f
commit
b0b0a5d5b2
2
index.js
2
index.js
|
@ -35,7 +35,7 @@ BIP39.prototype.generateMnemonic = function(strength, rng) {
|
|||
rng = rng || secureRandom.randomBuffer
|
||||
|
||||
var hex = rng(strength / 8).toString('hex')
|
||||
return this.entropyToMnemonic(hex, this.wordlist)
|
||||
return this.entropyToMnemonic(hex)
|
||||
}
|
||||
|
||||
BIP39.prototype.validate = function(mnemonic) {
|
||||
|
|
Loading…
Reference in New Issue