Skip to content

Commit

Permalink
Merge pull request #80 from sotatek-dev/fix/crawler
Browse files Browse the repository at this point in the history
fix: crawler
  • Loading branch information
Sotatek-TanHoang authored Sep 24, 2024
2 parents a03f568 + 0792d97 commit 3bdf167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/crawler/crawler.minabridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class SCBridgeMinaCrawler {
}
// udpate current latest block
await this.updateLatestBlockCrawl(Number(toBlock.toString()), queryRunner);
return queryRunner.commitTransaction();
await queryRunner.commitTransaction();
} catch (error) {
await queryRunner.rollbackTransaction();
throw error;
Expand Down

0 comments on commit 3bdf167

Please sign in to comment.