Update reorg.js

This commit is contained in:
tripathyr 2022-01-25 00:07:57 +05:30 committed by GitHub
parent 9c0ec67ccf
commit 18d1a16b0c
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) {
return next(log.error('Unknown common ancestor'));
return next('Unknown common ancestor');
}
next();