Update reorg.js

This commit is contained in:
tripathyr 2022-01-25 11:18:13 +05:30 committed by GitHub
parent af6048de93
commit fcecf08ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -317,7 +317,7 @@ Reorg.prototype.findCommonAncestorAndNewHashes = function(oldTipHash, newTipHash
}
if(!mainPosition && !forkPosition) {
log.error('Unknown common ancestor');
return next('Unknown common ancestor');
}
next();