|
|
@ -11,7 +11,7 @@ const ethUtil = require('ethereumjs-util') |
|
|
|
|
|
|
|
|
|
|
|
module.exports = function (addr, identities = {}) { |
|
|
|
module.exports = function (addr, identities = {}) { |
|
|
|
const checksummed = ethUtil.toChecksumAddress(addr) |
|
|
|
const checksummed = ethUtil.toChecksumAddress(addr) |
|
|
|
if (contractMap.checksummed && contractMap[checksummed].name) { |
|
|
|
if (contractMap[checksummed] && contractMap[checksummed].name) { |
|
|
|
return contractMap[checksummed].name |
|
|
|
return contractMap[checksummed].name |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|