miner: fix priorityWeight check.

This commit is contained in:
Christopher Jeffrey 2017-02-26 21:54:49 -08:00
parent b73b2fba85
commit 6d4a2c61cb
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -370,7 +370,7 @@ Miner.prototype.build = function build(attempt) {
var depMap = {};
var block = attempt.block;
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 prev, deps, hashes, weight, sigops;