Phrase is normalized before checking for errors

This commit is contained in:
Ian Coleman
2014-09-27 21:51:06 +10:00
parent be6ba9a836
commit 783981debe
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -199,6 +199,7 @@
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<parts.length; i++) {