Skip to content

Commit

Permalink
change cursor => clock in onRestartInactivitySeconds
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Aug 2, 2023
1 parent 7239a34 commit 920c3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/restartInactivitySeconds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function onRestartInactivitySeconds(emitter: BlockEmitter, restartInactiv
await setTimeout(CHECK_INACTIVITY_INTERVAL);
checkInactivity();
}
emitter.on("cursor", (_, clock) => {
emitter.on("clock", clock => {
lastUpdate = now();
if (clock.number >= emitter.request.stopBlockNum - 1n) {
isFinished = true;
Expand Down

0 comments on commit 920c3f1

Please sign in to comment.