fix possible backend crash

This commit is contained in:
nymkappa 2023-05-31 09:48:44 -07:00
parent 1db05854a1
commit 9e6294faeb

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 [];
}
}