aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-05-27 02:05:51 +0800
committerDan Finlay <dan@danfinlay.com>2017-05-27 02:05:51 +0800
commitfd42d7bfd5cede30f14e232b6d93ba4205dbcf1d (patch)
tree6d95bea097461e4ee59ee8aca0307b547287f5ca /ui
parent5e6b23082147f530adbf52cacf61202d7edf1111 (diff)
downloadtangerine-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.js2
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
}