fix possible backend crash

This commit is contained in:
nymkappa
2023-05-31 09:48:44 -07:00
parent 126a75ed45
commit c558c85f36

View File

@@ -928,7 +928,7 @@ class BlocksRepository {
return blocks;
} catch (e) {
logger.err(`Cannot get blocks with missing coinstatsindex. Reason: ` + (e instanceof Error ? e.message : e));
throw e;
return [];
}
}