fix possible backend crash

This commit is contained in:
nymkappa committed 2023-05-31 09:48:44 -07:00
1 parent 126a75ed45
commit c558c85f36
1 file changed
+1 -1
+1 -1
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 [];
}
}