From: Ian Coleman Date: Sat, 27 Sep 2014 11:51:06 +0000 (+1000) Subject: Phrase is normalized before checking for errors X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=783981debeec37c05173af31588ca5fbc286188c;hp=be6ba9a836bebfb245c0d139436e728296485e5e;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git Phrase is normalized before checking for errors --- diff --git a/bip39-standalone.html b/bip39-standalone.html index b062b2e..6125ce3 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html @@ -22900,6 +22900,7 @@ WORDLISTS = { function findPhraseErrors(phrase) { // TODO make this right // Preprocess the words + phrase = mnemonic.normalizeString(phrase); var parts = phrase.split(" "); var proper = []; for (var i=0; i