Merge pull request #255 from nodar-chkuaselidze/fix/miner-workers

Worker Options in Miner
This commit is contained in:
Christopher Jeffrey (JJ) 2017-07-27 19:50:38 -07:00 committed by GitHub
commit c3d7be42ad

View File

@ -36,7 +36,7 @@ function Miner(options) {
this.options = new MinerOptions(options);
this.network = this.options.network;
this.logger = this.options.logger.context('miner');
this.workers = null;
this.workers = this.options.workers;
this.chain = this.options.chain;
this.mempool = this.options.mempool;
this.addresses = this.options.addresses;