1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

set the ensResolution to an invalid address if an error ocurs durring look up

This commit is contained in:
frankiebee 2017-06-05 12:37:29 -07:00
parent 0f69a09823
commit ec99bfd553

View File

@ -109,6 +109,7 @@ EnsInput.prototype.lookupEnsName = function () {
log.error(reason)
return this.setState({
loadingEns: false,
ensResolution: '0x0000000000000000000000000000000000000000',
ensFailure: true,
hoverText: reason.message,
})