Skip to content

Commit 78b7950

Browse files
authored
remove death spiral check (#363)
* remove death spiral check * lint fix
1 parent 6ce6495 commit 78b7950

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

packages/api/src/resourcePriceFunctions/celestiaIndexer.ts

+1-8
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,7 @@ class CelestiaIndexer implements IResourcePriceIndexer {
6969
data = await response.json();
7070

7171
if (response.ok) {
72-
if (Array.isArray(data) && data.length > 0) {
73-
break;
74-
} else {
75-
console.error(
76-
`[CelestiaIndexer] Info for block ${currentBlockToPoll} hasn't been written to the API yet! We are most likely in a API cache death spiral...`
77-
);
78-
return;
79-
}
72+
break;
8073
}
8174

8275
console.error(

0 commit comments

Comments
 (0)