[Blockchain Watcher] (FIX - SUI) Fix currentCheckpoint value for report metrics on grafana (#1345)

Fix currentCheckpoint value

Co-authored-by: julian merlo <julianmerlo@julians-MacBook-Pro.local>
This commit is contained in:
Julian 2024-04-23 14:51:52 -03:00 committed by GitHub
parent 0cd38590ce
commit e013f14968
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ export class PollSuiTransactions extends RunPollingJob {
`[sui][PollSuiTransactions] Got ${txs.length} txs from ${this.cursor.checkpoint} to ${newCursor.checkpoint}`
);
this.currentCheckpoint = this.cursor.checkpoint;
this.cursor = newCursor;
return txs;