miner: pass workers option to miner
This commit is contained in:
parent
8036c301a1
commit
d809f66bf8
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user