chain. verify async.
This commit is contained in:
parent
eea25052b6
commit
3ae754722d
@ -848,7 +848,7 @@ Chain.prototype._checkInputs = function _checkInputs(block, prev, flags, callbac
|
|||||||
100));
|
100));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self.options.verifyAsync)
|
if (!self.options.verifySync)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!scriptCheck)
|
if (!scriptCheck)
|
||||||
@ -887,7 +887,7 @@ Chain.prototype._checkInputs = function _checkInputs(block, prev, flags, callbac
|
|||||||
if (block.getClaimed().cmp(block.getReward()) > 0)
|
if (block.getClaimed().cmp(block.getReward()) > 0)
|
||||||
return callback(new VerifyError(block, 'invalid', 'bad-cb-amount', 100));
|
return callback(new VerifyError(block, 'invalid', 'bad-cb-amount', 100));
|
||||||
|
|
||||||
if (!self.options.verifyAsync)
|
if (self.options.verifySync)
|
||||||
return callback();
|
return callback();
|
||||||
|
|
||||||
if (!scriptCheck)
|
if (!scriptCheck)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user