1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Package normalize inside sig util file.

This commit is contained in:
Kevin Serrano 2016-11-11 15:37:54 -08:00
parent 0c23925c23
commit 7012747fb5
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4

View File

@ -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) {