diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-05-27 02:05:51 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-05-27 02:05:51 +0800 |
commit | fd42d7bfd5cede30f14e232b6d93ba4205dbcf1d (patch) | |
tree | 6d95bea097461e4ee59ee8aca0307b547287f5ca /ui | |
parent | 5e6b23082147f530adbf52cacf61202d7edf1111 (diff) | |
download | tangerine-wallet-browser-fd42d7bfd5cede30f14e232b6d93ba4205dbcf1d.tar tangerine-wallet-browser-fd42d7bfd5cede30f14e232b6d93ba4205dbcf1d.tar.gz tangerine-wallet-browser-fd42d7bfd5cede30f14e232b6d93ba4205dbcf1d.tar.bz2 tangerine-wallet-browser-fd42d7bfd5cede30f14e232b6d93ba4205dbcf1d.tar.lz tangerine-wallet-browser-fd42d7bfd5cede30f14e232b6d93ba4205dbcf1d.tar.xz tangerine-wallet-browser-fd42d7bfd5cede30f14e232b6d93ba4205dbcf1d.tar.zst tangerine-wallet-browser-fd42d7bfd5cede30f14e232b6d93ba4205dbcf1d.zip |
Fix contract map reference
Diffstat (limited to 'ui')
-rw-r--r-- | ui/lib/contract-namer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/lib/contract-namer.js b/ui/lib/contract-namer.js index 2400fa576..86bba1edc 100644 --- a/ui/lib/contract-namer.js +++ b/ui/lib/contract-namer.js @@ -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 } |