From 6df36c6ce4993cefcdb33312b54b9f2aed7e3ee4 Mon Sep 17 00:00:00 2001 From: cubedro Date: Tue, 26 May 2015 19:40:07 +0300 Subject: [PATCH] removed registrar since now it's built-in --- lib/node.js | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/lib/node.js b/lib/node.js index a948299..f1f7516 100644 --- a/lib/node.js +++ b/lib/node.js @@ -736,31 +736,11 @@ Node.prototype.setWatches = function() }, PING_INTERVAL); } -Node.prototype.installContract = function() -{ - var start = _.now(); - - try { - Contract = web3.eth.contract( registrar.desc ); - this._Registrar = new Contract( registrar.address ); - - console.success('Installed Registrar contract in', chalk.reset.cyan(_.now() - start, 'ms')); - } - catch (err) - { - console.error("!!!", "eth", "Couldn't set up registrar contract"); - console.error(err); - } -} - Node.prototype.init = function() { // Fetch node info this.getInfo(); - // Install Registrar contract - this.installContract(); - // Start socket connection this.startSocketConnection();