mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Fix contract map reference
This commit is contained in:
parent
5e6b230821
commit
fd42d7bfd5
@ -11,7 +11,7 @@ const ethUtil = require('ethereumjs-util')
|
||||
|
||||
module.exports = function (addr, identities = {}) {
|
||||
const checksummed = ethUtil.toChecksumAddress(addr)
|
||||
if (contractMap.checksummed && contractMap[checksummed].name) {
|
||||
if (contractMap[checksummed] && contractMap[checksummed].name) {
|
||||
return contractMap[checksummed].name
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user