diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-05-27 01:54:16 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-05-27 01:54:16 +0800 |
commit | 5e6b23082147f530adbf52cacf61202d7edf1111 (patch) | |
tree | a977bddfab591e7a9517b0558796e2b0eb98dbbe | |
parent | 1203bd15c2861332b62e4a39a3d961f61daed6dc (diff) | |
download | tangerine-wallet-browser-5e6b23082147f530adbf52cacf61202d7edf1111.tar tangerine-wallet-browser-5e6b23082147f530adbf52cacf61202d7edf1111.tar.gz tangerine-wallet-browser-5e6b23082147f530adbf52cacf61202d7edf1111.tar.bz2 tangerine-wallet-browser-5e6b23082147f530adbf52cacf61202d7edf1111.tar.lz tangerine-wallet-browser-5e6b23082147f530adbf52cacf61202d7edf1111.tar.xz tangerine-wallet-browser-5e6b23082147f530adbf52cacf61202d7edf1111.tar.zst tangerine-wallet-browser-5e6b23082147f530adbf52cacf61202d7edf1111.zip |
Move off in operator
-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 0800ee7df..2400fa576 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 (checksummed in contractMap && 'name' in contractMap[checksummed]) { + if (contractMap.checksummed && contractMap[checksummed].name) { return contractMap[checksummed].name } |