aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bip39-standalone.html1
-rw-r--r--src/js/index.js1
2 files changed, 2 insertions, 0 deletions
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 = {
22900 function findPhraseErrors(phrase) { 22900 function findPhraseErrors(phrase) {
22901 // TODO make this right 22901 // TODO make this right
22902 // Preprocess the words 22902 // Preprocess the words
22903 phrase = mnemonic.normalizeString(phrase);
22903 var parts = phrase.split(" "); 22904 var parts = phrase.split(" ");
22904 var proper = []; 22905 var proper = [];
22905 for (var i=0; i<parts.length; i++) { 22906 for (var i=0; i<parts.length; i++) {
diff --git a/src/js/index.js b/src/js/index.js
index d6f752d..5b8aedb 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -199,6 +199,7 @@
199 function findPhraseErrors(phrase) { 199 function findPhraseErrors(phrase) {
200 // TODO make this right 200 // TODO make this right
201 // Preprocess the words 201 // Preprocess the words
202 phrase = mnemonic.normalizeString(phrase);
202 var parts = phrase.split(" "); 203 var parts = phrase.split(" ");
203 var proper = []; 204 var proper = [];
204 for (var i=0; i<parts.length; i++) { 205 for (var i=0; i<parts.length; i++) {