aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-11-12 07:37:54 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-11-12 07:37:54 +0800
commit7012747fb546bc1a95ce65b71bd3f74075150b77 (patch)
treeb90137779d598bf1cb5e2ab5eec972acff0d7c07
parent0c23925c23ec620feadd97157e804ffa6d1003e6 (diff)
downloadtangerine-wallet-browser-7012747fb546bc1a95ce65b71bd3f74075150b77.tar
tangerine-wallet-browser-7012747fb546bc1a95ce65b71bd3f74075150b77.tar.gz
tangerine-wallet-browser-7012747fb546bc1a95ce65b71bd3f74075150b77.tar.bz2
tangerine-wallet-browser-7012747fb546bc1a95ce65b71bd3f74075150b77.tar.lz
tangerine-wallet-browser-7012747fb546bc1a95ce65b71bd3f74075150b77.tar.xz
tangerine-wallet-browser-7012747fb546bc1a95ce65b71bd3f74075150b77.tar.zst
tangerine-wallet-browser-7012747fb546bc1a95ce65b71bd3f74075150b77.zip
Package normalize inside sig util file.
-rw-r--r--app/scripts/lib/sig-util.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/scripts/lib/sig-util.js b/app/scripts/lib/sig-util.js
index f8748f535..193dda381 100644
--- a/app/scripts/lib/sig-util.js
+++ b/app/scripts/lib/sig-util.js
@@ -12,6 +12,11 @@ module.exports = {
return ethUtil.addHexPrefix(rStr.concat(sStr, vStr)).toString('hex')
},
+ normalize: function (address) {
+ if (!address) return
+ return ethUtil.addHexPrefix(address.toLowerCase())
+ },
+
}
function padWithZeroes (number, length) {