aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
diff options
context:
space:
mode:
authorCsaba Solya <csaba.solya@gmail.com>2018-03-03 21:11:02 +0800
committerCsaba Solya <csaba.solya@gmail.com>2018-03-03 21:11:02 +0800
commit3e05b693dbf55ea7ecb791e8f31b7599a6b89ffd (patch)
tree676aba91d6f1d597c9fcabce318e89f788ef4f14 /app/scripts/lib
parent4bd7f1a37abcd09dc8816fc5b28ad41bc86b1aea (diff)
downloadtangerine-wallet-browser-3e05b693dbf55ea7ecb791e8f31b7599a6b89ffd.tar
tangerine-wallet-browser-3e05b693dbf55ea7ecb791e8f31b7599a6b89ffd.tar.gz
tangerine-wallet-browser-3e05b693dbf55ea7ecb791e8f31b7599a6b89ffd.tar.bz2
tangerine-wallet-browser-3e05b693dbf55ea7ecb791e8f31b7599a6b89ffd.tar.lz
tangerine-wallet-browser-3e05b693dbf55ea7ecb791e8f31b7599a6b89ffd.tar.xz
tangerine-wallet-browser-3e05b693dbf55ea7ecb791e8f31b7599a6b89ffd.tar.zst
tangerine-wallet-browser-3e05b693dbf55ea7ecb791e8f31b7599a6b89ffd.zip
verify addresses regardless case
Diffstat (limited to 'app/scripts/lib')
-rw-r--r--app/scripts/lib/seed-phrase-verifier.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/seed-phrase-verifier.js b/app/scripts/lib/seed-phrase-verifier.js
index 97a433fd8..1f35c2c67 100644
--- a/app/scripts/lib/seed-phrase-verifier.js
+++ b/app/scripts/lib/seed-phrase-verifier.js
@@ -30,7 +30,7 @@ const seedPhraseVerifier = {
}
for (let i = 0; i < restoredAccounts.length; i++) {
- if (restoredAccounts[i] !== createdAccounts[i]) {
+ if (restoredAccounts[i].toLowerCase() !== createdAccounts[i].toLowerCase()) {
return reject(new Error('Not identical accounts! Original: ' + createdAccounts[i] + ', Restored: ' + restoredAccounts[i]))
}
}