This commit is contained in:
Jonathan Rainville 2018-08-14 15:46:26 -04:00 committed by Iuri Matias
parent 5f3dd25e06
commit d4abed24eb
1 changed files with 4 additions and 4 deletions

View File

@ -178,7 +178,7 @@ class ENS {
paraCb(null, resolver);
});
}
], function (err, contracts) {
], function(err, contracts) {
if (err) {
return cb(err);
}
@ -199,10 +199,10 @@ class ENS {
const self = this;
// get namehash, import it into file
self.events.request("version:get:eth-ens-namehash", function (EnsNamehashVersion) {
self.events.request("version:get:eth-ens-namehash", function(EnsNamehashVersion) {
let currentEnsNamehashVersion = require('../../../package.json').dependencies["eth-ens-namehash"];
if (EnsNamehashVersion !== currentEnsNamehashVersion) {
self.events.request("version:getPackageLocation", "eth-ens-namehash", EnsNamehashVersion, function (err, location) {
self.events.request("version:getPackageLocation", "eth-ens-namehash", EnsNamehashVersion, function(err, location) {
self.embark.registerImportFile("eth-ens-namehash", fs.dappPath(location));
});
}
@ -286,7 +286,7 @@ class ENS {
}
}
};
config.testnet = config.ropsten;
config.testnet = config.ropsten;
if (this.registration && this.registration.rootDomain) {
// Register root domain if it is defined