Browse Source

Merge pull request #946 from ricardohsd/fix-typo

consensus: Fix typo on ticker.go documentation
pull/948/head
Anton Kaliaev 7 years ago
committed by GitHub
parent
commit
4f50935aa2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consensus/ticker.go

+ 1
- 1
consensus/ticker.go View File

@ -68,7 +68,7 @@ func (t *timeoutTicker) Chan() <-chan timeoutInfo {
}
// ScheduleTimeout schedules a new timeout by sending on the internal tickChan.
// The timeoutRoutine is alwaya available to read from tickChan, so this won't block.
// The timeoutRoutine is always available to read from tickChan, so this won't block.
// The scheduling may fail if the timeoutRoutine has already scheduled a timeout for a later height/round/step.
func (t *timeoutTicker) ScheduleTimeout(ti timeoutInfo) {
t.tickChan <- ti


Loading…
Cancel
Save