remove unnecessary argument

This commit is contained in:
Wei Lu 2014-08-13 18:21:43 +08:00
parent ee4f7ead7f
commit b0b0a5d5b2
1 changed files with 1 additions and 1 deletions

View File

@ -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) {