diff --git a/lib/modules/ens/index.js b/lib/modules/ens/index.js index 73109330b..34f126450 100644 --- a/lib/modules/ens/index.js +++ b/lib/modules/ens/index.js @@ -99,7 +99,7 @@ class ENS { if (isKnownNetwork || !shouldRegisterSubdomain) { return cb(); } - process.exit(); + self.registerConfigDomains(config, cb); }); } @@ -246,8 +246,6 @@ class ENS { self.events.request('blockchain:networkId', (networkId) => { if (ENS_CONTRACTS_CONFIG[networkId]) { self.ensConfig = utils.recursiveMerge(self.ensConfig, ENS_CONTRACTS_CONFIG[networkId]); - } else { - process.exit(); } async.waterfall([