chain: minor.
This commit is contained in:
parent
58ec9b3fab
commit
e268e00adb
@ -593,7 +593,6 @@ Chain.prototype.verifyInputs = async function verifyInputs(block, prev, state) {
|
|||||||
const interval = this.network.halvingInterval;
|
const interval = this.network.halvingInterval;
|
||||||
const height = prev.height + 1;
|
const height = prev.height + 1;
|
||||||
const historical = prev.isHistorical();
|
const historical = prev.isHistorical();
|
||||||
const jobs = [];
|
|
||||||
|
|
||||||
let sigops = 0;
|
let sigops = 0;
|
||||||
let reward = 0;
|
let reward = 0;
|
||||||
@ -682,6 +681,7 @@ Chain.prototype.verifyInputs = async function verifyInputs(block, prev, state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Push onto verification queue.
|
// Push onto verification queue.
|
||||||
|
const jobs = [];
|
||||||
for (let i = 1; i < block.txs.length; i++) {
|
for (let i = 1; i < block.txs.length; i++) {
|
||||||
const tx = block.txs[i];
|
const tx = block.txs[i];
|
||||||
jobs.push(tx.verifyAsync(view, state.flags, this.workers));
|
jobs.push(tx.verifyAsync(view, state.flags, this.workers));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user