Skip to content

Commit

Permalink
fix: a minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdesu committed Jan 31, 2024
1 parent 982eee0 commit a3640f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/controller/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,9 @@ class Server extends EventEmitter {

this.logger.debug(`Received new block[${BigInt(result.number)}]`)

clearTimeout(status.checkTipHeight_notify)
clearTimeout(status.checkTipHeight_warn)

this.emit('update', result)
}
}
Expand Down

0 comments on commit a3640f0

Please sign in to comment.