aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-06-03 09:42:09 +0800
committerDan Finlay <dan@danfinlay.com>2016-06-03 09:42:09 +0800
commit272bea31b5983a64c26fdc28c827ccd456bc778f (patch)
treefd94bb05e80179a4d085114f71eab23dd02ab15f /ui/app
parentd0f8a14acec274e97d35d9f7a63605581ad21511 (diff)
downloadtangerine-wallet-browser-272bea31b5983a64c26fdc28c827ccd456bc778f.tar
tangerine-wallet-browser-272bea31b5983a64c26fdc28c827ccd456bc778f.tar.gz
tangerine-wallet-browser-272bea31b5983a64c26fdc28c827ccd456bc778f.tar.bz2
tangerine-wallet-browser-272bea31b5983a64c26fdc28c827ccd456bc778f.tar.lz
tangerine-wallet-browser-272bea31b5983a64c26fdc28c827ccd456bc778f.tar.xz
tangerine-wallet-browser-272bea31b5983a64c26fdc28c827ccd456bc778f.tar.zst
tangerine-wallet-browser-272bea31b5983a64c26fdc28c827ccd456bc778f.zip
Fix hashed address validation
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/util.js b/ui/app/util.js
index 91f85e43f..6ece28a9e 100644
--- a/ui/app/util.js
+++ b/ui/app/util.js
@@ -52,7 +52,7 @@ function addressSummary(address) {
function isValidAddress(address) {
var prefixed = ethUtil.addHexPrefix(address)
- return isAllOneCase(prefixed) && ethUtil.isValidAddress(prefixed) || ethUtil.isValidChecksumAddress(prefixed)
+ return (isAllOneCase(prefixed) && ethUtil.isValidAddress(prefixed)) || ethUtil.isValidChecksumAddress(prefixed)
}
function isAllOneCase(address) {