fix: added missing callback on testing code
This commit is contained in:
parent
269f3f1bd8
commit
9f72d3dd79
@ -939,8 +939,10 @@ BlockService.prototype._processBlock = function(block, callback) {
|
|||||||
|
|
||||||
//Manually ignore a block for testing
|
//Manually ignore a block for testing
|
||||||
__TestingCount--;
|
__TestingCount--;
|
||||||
if(__TestingCount === 0)
|
if(__TestingCount === 0){
|
||||||
return console.debug("TESTING: Ignored block");
|
console.debug("TESTING: Ignored block");
|
||||||
|
return callback();
|
||||||
|
}
|
||||||
|
|
||||||
// common case
|
// common case
|
||||||
if (!self._detectReorg(block)) {
|
if (!self._detectReorg(block)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user