From 783981debeec37c05173af31588ca5fbc286188c Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Sat, 27 Sep 2014 21:51:06 +1000 Subject: [PATCH] Phrase is normalized before checking for errors --- bip39-standalone.html | 1 + src/js/index.js | 1 + 2 files changed, 2 insertions(+) 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