Fix job-runner for missing parent block (#143)

This commit is contained in:
nikugogoi 2022-07-15 19:08:33 +05:30 committed by GitHub
parent 129b9e71f0
commit 9a35955166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ export class JobRunner {
const message = `Parent block number ${parentBlockNumber} hash ${parentHash} of block number ${blockNumber} hash ${blockHash} not fetched yet, aborting`;
log(message);
return;
throw new Error(message);
}
if (!parentBlock.isComplete) {