mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 06:31:57 +00:00
Fix possibly incorrect usage of conversion
This commit is contained in:
@@ -36,8 +36,7 @@ func (t *defaultTicker) Chan() <-chan time.Time {
|
||||
|
||||
// Implements Ticker
|
||||
func (t *defaultTicker) Stop() {
|
||||
tt := time.Ticker(*t)
|
||||
tt.Stop()
|
||||
((*time.Ticker)(t)).Stop()
|
||||
}
|
||||
|
||||
//----------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user