From d809f66bf85bafdfaa9e2f5c8671f990c83bc83c Mon Sep 17 00:00:00 2001 From: Node Date: Thu, 27 Jul 2017 23:42:22 +0400 Subject: [PATCH] miner: pass workers option to miner --- lib/mining/miner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mining/miner.js b/lib/mining/miner.js index 99c6d460..5d60cd34 100644 --- a/lib/mining/miner.js +++ b/lib/mining/miner.js @@ -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;