From fe4d4e3eaf8d82df9ac0feeaf318b7e4707fff6e Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 3 Sep 2019 23:03:37 +0200 Subject: [PATCH] use checksum address in UI --- src/app/ui/universal-dapp-ui.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/ui/universal-dapp-ui.js b/src/app/ui/universal-dapp-ui.js index e660a4781b..ff909507ca 100644 --- a/src/app/ui/universal-dapp-ui.js +++ b/src/app/ui/universal-dapp-ui.js @@ -59,6 +59,7 @@ UniversalDAppUI.prototype.renderInstance = function (contract, address, contract UniversalDAppUI.prototype.renderInstanceFromABI = function (contractABI, address, contractName) { var self = this address = (address.slice(0, 2) === '0x' ? '' : '0x') + address.toString('hex') + address = ethJSUtil.toChecksumAddress(address) var instance = yo`
` var context = self.udapp.context()