Skip to content

Commit 7b1c06f

Browse files
committed
Rename genesisOk to constantsOk
1 parent 94950ec commit 7b1c06f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/mina/v1/fetch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ async function fetchMissingData(graphqlEndpoint: string, archiveEndpoint?: strin
371371
if (network !== undefined) {
372372
promises.push(
373373
(async () => {
374-
const [lastBlockOk, genesisOk] = await Promise.all([
374+
const [lastBlockOk, constantsOk] = await Promise.all([
375375
fetchLastBlock(graphqlEndpoint)
376376
.then(() => true)
377377
.catch(() => false),
@@ -380,7 +380,7 @@ async function fetchMissingData(graphqlEndpoint: string, archiveEndpoint?: strin
380380
.catch(() => false),
381381
]);
382382

383-
if (lastBlockOk && genesisOk) {
383+
if (lastBlockOk && constantsOk) {
384384
delete networksToFetch[network[0]];
385385
}
386386
})()

0 commit comments

Comments
 (0)