Skip to content

Commit

Permalink
fix: cardanoDbSyncMeta.initialized during startup
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyslbw committed Jan 26, 2021
1 parent 6afdfc1 commit 8e5311f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api-cardano-db-hasura/src/HasuraClient.ts
Expand Up @@ -270,7 +270,7 @@ export class HasuraClient {
// cardano-db-sync writes the epoch record at the end of each epoch during times of bulk sync
// The initialization state can be determined by comparing the last epoch record against the
// tip
initialized: lastEpoch.number === tip.epoch.number,
initialized: lastEpoch.number === tip.epoch?.number,
syncPercentage: (tip.number / nodeTipBlockNumber) * 100
}
}
Expand Down

0 comments on commit 8e5311f

Please sign in to comment.