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

feature/default_network_editable
frankiebee 8 years ago
parent 0f69a09823
commit ec99bfd553
  1. 1
      ui/app/components/ens-input.js

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

Loading…
Cancel
Save