Fix contract map reference

feature/default_network_editable
Dan Finlay 8 years ago
parent 5e6b230821
commit fd42d7bfd5
  1. 2
      ui/lib/contract-namer.js

@ -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
} }

Loading…
Cancel
Save