diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-06-06 02:40:20 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-06-06 02:48:04 +0800 |
commit | bb6e41963d42a91ecc34a728b7c0c18d26e6cd9f (patch) | |
tree | e014ffb8fc923792c043c6699ba0409a67480dc4 /ui/app/components/ens-input.js | |
parent | 9eea990425f1f68eabca8b283bdfc662befcd226 (diff) | |
download | tangerine-wallet-browser-bb6e41963d42a91ecc34a728b7c0c18d26e6cd9f.tar tangerine-wallet-browser-bb6e41963d42a91ecc34a728b7c0c18d26e6cd9f.tar.gz tangerine-wallet-browser-bb6e41963d42a91ecc34a728b7c0c18d26e6cd9f.tar.bz2 tangerine-wallet-browser-bb6e41963d42a91ecc34a728b7c0c18d26e6cd9f.tar.lz tangerine-wallet-browser-bb6e41963d42a91ecc34a728b7c0c18d26e6cd9f.tar.xz tangerine-wallet-browser-bb6e41963d42a91ecc34a728b7c0c18d26e6cd9f.tar.zst tangerine-wallet-browser-bb6e41963d42a91ecc34a728b7c0c18d26e6cd9f.zip |
Dissallow transactions to be sent to 0x0000000000000000000000000000000000000000
Diffstat (limited to 'ui/app/components/ens-input.js')
-rw-r--r-- | ui/app/components/ens-input.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/app/components/ens-input.js b/ui/app/components/ens-input.js index 3e44d83af..11e0fb36d 100644 --- a/ui/app/components/ens-input.js +++ b/ui/app/components/ens-input.js @@ -95,6 +95,7 @@ EnsInput.prototype.lookupEnsName = function () { log.info(`ENS attempting to resolve name: ${recipient}`) this.ens.lookup(recipient.trim()) .then((address) => { + if (address === '0x0000000000000000000000000000000000000000') throw new Error('No address has been set for this name.') if (address !== ensResolution) { this.setState({ loadingEns: false, |