From b0b0a5d5b286eafc7ac92e0512b04a336f51ee8f Mon Sep 17 00:00:00 2001 From: Wei Lu Date: Wed, 13 Aug 2014 18:21:43 +0800 Subject: [PATCH] remove unnecessary argument --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 92d3424..43eaa7b 100644 --- a/index.js +++ b/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) {