restart web3 service on proces launch

This commit is contained in:
Jonathan Rainville 2018-05-22 09:40:45 -04:00
parent 7e058e5016
commit 47591a39dd
2 changed files with 4 additions and 1 deletions

View File

@ -64,6 +64,10 @@ class Provider {
}); });
} }
stop() {
this.engine.stop();
}
eth_accounts(payload, cb) { eth_accounts(payload, cb) {
return cb(null, this.addresses); return cb(null, this.addresses);
} }

View File

@ -43,7 +43,6 @@ class ProcessLauncher {
if (this.silent) { if (this.silent) {
return; return;
} }
console.log('Not silent????', this.silent);
if (this.logger[msg.type]) { if (this.logger[msg.type]) {
return this.logger[msg.type](this.normalizeInput(msg.message)); return this.logger[msg.type](this.normalizeInput(msg.message));
} }