aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-06-03 10:06:46 +0800
committerkumavis <kumavis@users.noreply.github.com>2016-06-03 10:06:46 +0800
commit6dec937c2a3b72cd5863edef1ced818fe32e43f0 (patch)
tree51f723c313c493b64ba3fcff7352a9683386bf3c /ui/app
parent574b7424097583fb8e588d95c7596f30d2024065 (diff)
parent272bea31b5983a64c26fdc28c827ccd456bc778f (diff)
downloadtangerine-wallet-browser-6dec937c2a3b72cd5863edef1ced818fe32e43f0.tar
tangerine-wallet-browser-6dec937c2a3b72cd5863edef1ced818fe32e43f0.tar.gz
tangerine-wallet-browser-6dec937c2a3b72cd5863edef1ced818fe32e43f0.tar.bz2
tangerine-wallet-browser-6dec937c2a3b72cd5863edef1ced818fe32e43f0.tar.lz
tangerine-wallet-browser-6dec937c2a3b72cd5863edef1ced818fe32e43f0.tar.xz
tangerine-wallet-browser-6dec937c2a3b72cd5863edef1ced818fe32e43f0.tar.zst
tangerine-wallet-browser-6dec937c2a3b72cd5863edef1ced818fe32e43f0.zip
Merge pull request #242 from MetaMask/HashFix
provider-engine hooked wallet - checkSum addresses not recognized
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) {