miner: fix priorityWeight check.
This commit is contained in:
parent
b73b2fba85
commit
6d4a2c61cb
@ -370,7 +370,7 @@ Miner.prototype.build = function build(attempt) {
|
|||||||
var depMap = {};
|
var depMap = {};
|
||||||
var block = attempt.block;
|
var block = attempt.block;
|
||||||
var queue = new Heap(cmpRate);
|
var queue = new Heap(cmpRate);
|
||||||
var priority = this.priorityWeight > 0;
|
var priority = this.options.priorityWeight > 0;
|
||||||
var i, j, entry, item, tx, hash, input;
|
var i, j, entry, item, tx, hash, input;
|
||||||
var prev, deps, hashes, weight, sigops;
|
var prev, deps, hashes, weight, sigops;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user