diff options
Diffstat (limited to 'bip39-standalone.html')
-rw-r--r-- | bip39-standalone.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bip39-standalone.html b/bip39-standalone.html index 28f0a55..370a5ff 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html | |||
@@ -14520,7 +14520,7 @@ var Mnemonic = function(language) { | |||
14520 | 14520 | ||
14521 | self.toSeed = function(mnemonic, passphrase) { | 14521 | self.toSeed = function(mnemonic, passphrase) { |
14522 | passphrase = passphrase || ''; | 14522 | passphrase = passphrase || ''; |
14523 | mnemonic = self.normalizeString(mnemonic) | 14523 | mnemonic = self.normalizeString(mnemonic).split(' ').filter(function(x) { return x.length; }).join(' '); |
14524 | passphrase = self.normalizeString(passphrase) | 14524 | passphrase = self.normalizeString(passphrase) |
14525 | passphrase = "mnemonic" + passphrase; | 14525 | passphrase = "mnemonic" + passphrase; |
14526 | var mnemonicBits = sjcl.codec.utf8String.toBits(mnemonic); | 14526 | var mnemonicBits = sjcl.codec.utf8String.toBits(mnemonic); |