aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/util.js
diff options
context:
space:
mode:
authorFrankie <email": null>2016-06-06 22:20:05 +0800
committerFrankie <email": null>2016-06-06 22:20:05 +0800
commit2c2fcd60bfc28c7e500c3cb5e7243cafb8f388e5 (patch)
treecef049dd3e409d1beb23cc316c7f43b47fac3d93 /ui/app/util.js
parentf59ca7a6bf42b0cae70aab838a08a7d15e192d10 (diff)
parent5d9ced3c058d44524f37600bea076ca09da1d9bd (diff)
downloadtangerine-wallet-browser-2c2fcd60bfc28c7e500c3cb5e7243cafb8f388e5.tar
tangerine-wallet-browser-2c2fcd60bfc28c7e500c3cb5e7243cafb8f388e5.tar.gz
tangerine-wallet-browser-2c2fcd60bfc28c7e500c3cb5e7243cafb8f388e5.tar.bz2
tangerine-wallet-browser-2c2fcd60bfc28c7e500c3cb5e7243cafb8f388e5.tar.lz
tangerine-wallet-browser-2c2fcd60bfc28c7e500c3cb5e7243cafb8f388e5.tar.xz
tangerine-wallet-browser-2c2fcd60bfc28c7e500c3cb5e7243cafb8f388e5.tar.zst
tangerine-wallet-browser-2c2fcd60bfc28c7e500c3cb5e7243cafb8f388e5.zip
Merge branch 'master' into uiFixes
Diffstat (limited to 'ui/app/util.js')
-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) {