mirror of https://github.com/embarklabs/embark.git
lint is king
This commit is contained in:
parent
5b58c9f1b8
commit
033613d7f6
|
@ -255,7 +255,7 @@ __embarkENS.setProvider = function () {
|
|||
const self = this;
|
||||
// get network id and then assign ENS contract based on that
|
||||
let registryAddresses = this.registryAddresses;
|
||||
this.ens = null
|
||||
this.ens = null;
|
||||
web3.eth.net.getId().then(id => {
|
||||
if (registryAddresses[id] !== undefined) {
|
||||
self.ens = new web3.eth.Contract(self.registryInterface, registryAddresses[id]);
|
||||
|
|
Loading…
Reference in New Issue