consensus: Fix typo on ticker.go documentation
This commit is contained in:
parent
7e3a5b7ce8
commit
59e89e7664
|
@ -68,7 +68,7 @@ func (t *timeoutTicker) Chan() <-chan timeoutInfo {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ScheduleTimeout schedules a new timeout by sending on the internal tickChan.
|
// 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.
|
// The scheduling may fail if the timeoutRoutine has already scheduled a timeout for a later height/round/step.
|
||||||
func (t *timeoutTicker) ScheduleTimeout(ti timeoutInfo) {
|
func (t *timeoutTicker) ScheduleTimeout(ti timeoutInfo) {
|
||||||
t.tickChan <- ti
|
t.tickChan <- ti
|
||||||
|
|
Loading…
Reference in New Issue