From 47591a39dd3c8b1b10fccfbf60390d447d4c179d Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 22 May 2018 09:40:45 -0400 Subject: [PATCH] restart web3 service on proces launch --- lib/contracts/provider.js | 4 ++++ lib/process/processLauncher.js | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/contracts/provider.js b/lib/contracts/provider.js index 29b5ad2a..2614e384 100644 --- a/lib/contracts/provider.js +++ b/lib/contracts/provider.js @@ -64,6 +64,10 @@ class Provider { }); } + stop() { + this.engine.stop(); + } + eth_accounts(payload, cb) { return cb(null, this.addresses); } diff --git a/lib/process/processLauncher.js b/lib/process/processLauncher.js index 2c1a4d09..be7f4fd4 100644 --- a/lib/process/processLauncher.js +++ b/lib/process/processLauncher.js @@ -43,7 +43,6 @@ class ProcessLauncher { if (this.silent) { return; } - console.log('Not silent????', this.silent); if (this.logger[msg.type]) { return this.logger[msg.type](this.normalizeInput(msg.message)); }