From: Chris Rico Date: Sun, 1 Jan 2017 23:38:48 +0000 (-0600) Subject: When completing a mnemonic word, return immediately if one is found in the wordlist... X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=3725abb540935b4b2d4cf7e31cf378e1577e0afa;hp=434caecd96740bbec488429026830b5ad24f628a;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git When completing a mnemonic word, return immediately if one is found in the wordlist that starts with the given word --- diff --git a/bip39-standalone.html b/bip39-standalone.html index 2888d03..4a18657 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html @@ -18648,7 +18648,7 @@ window.Entropy = new (function() { // mnemonics is populated as required by getLanguage var mnemonics = { "english": new Mnemonic("english") }; var mnemonic = mnemonics["english"]; - var seed = null + var seed = null; var bip32RootKey = null; var bip32ExtendedKey = null; var network = bitcoin.networks.bitcoin; @@ -19292,6 +19292,8 @@ window.Entropy = new (function() { var closestWord = words[0]; for (var i=0; i