Skip to content

Commit

Permalink
fix: database schema creation
Browse files Browse the repository at this point in the history
  • Loading branch information
boudra committed Apr 18, 2024
1 parent da7d90b commit 1b54a6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,11 @@ async function main(): Promise<void> {
});

if (config.indexerEnabled) {
indexChainsPromise = indexChains();
indexChainsPromise = indexChains(true);
}

if (config.runOnce && indexChainsPromise) {
await indexChains();
await indexChainsPromise;
baseLogger.info("exiting");
return;
}
Expand Down

0 comments on commit 1b54a6c

Please sign in to comment.