diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-11-12 07:37:54 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-11-12 07:37:54 +0800 |
commit | 7012747fb546bc1a95ce65b71bd3f74075150b77 (patch) | |
tree | b90137779d598bf1cb5e2ab5eec972acff0d7c07 /app | |
parent | 0c23925c23ec620feadd97157e804ffa6d1003e6 (diff) | |
download | tangerine-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.
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/sig-util.js | 5 |
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) { |