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
|
||||
__TestingCount--;
|
||||
if(__TestingCount === 0)
|
||||
return console.debug("TESTING: Ignored block");
|
||||
if(__TestingCount === 0){
|
||||
console.debug("TESTING: Ignored block");
|
||||
return callback();
|
||||
}
|
||||
|
||||
// common case
|
||||
if (!self._detectReorg(block)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user