minerblock: fix starting weight.
This commit is contained in:
parent
d3ac6eba9e
commit
8a158bbe41
@ -285,7 +285,7 @@ MinerBlock.prototype.build = function build(entries) {
|
|||||||
var len = Math.min(entries.length, constants.block.MAX_SIZE);
|
var len = Math.min(entries.length, constants.block.MAX_SIZE);
|
||||||
var i, entry, tx, weight, sigops;
|
var i, entry, tx, weight, sigops;
|
||||||
|
|
||||||
this.weight = this.block.getWeight() + 12;
|
this.weight = this.block.getWeight() + 28;
|
||||||
this.sigops = this.coinbase.getSigopsWeight(this.flags);
|
this.sigops = this.coinbase.getSigopsWeight(this.flags);
|
||||||
|
|
||||||
for (i = 0; i < len; i++) {
|
for (i = 0; i < len; i++) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user