Skip to content

Commit

Permalink
watcher: findGaps: skip large gaps
Browse files Browse the repository at this point in the history
  • Loading branch information
panoel committed Sep 9, 2024
1 parent bb6c367 commit 4f52cf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions watcher/scripts/findGaps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ const allEntries: Chain[] = [...evmEntries, ...moveEntries, ...solanaEntries];
console.log(
`Gap is too large to record for emitter ${emitter} between ${seq} and ${sequence}`
);
continue;
}
for (let i = seq + 1; i < sequence; i++) {
missingVAAs.push(`${chainId}/${emitter}/${i}`);
} else {
for (let i = seq + 1; i < sequence; i++) {
missingVAAs.push(`${chainId}/${emitter}/${i}`);
}
}
}
emitterMap.set(emitter, sequence);
Expand Down

0 comments on commit 4f52cf2

Please sign in to comment.