mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-27 03:31:42 +00:00
One more attempt with a read-only channel
This commit is contained in:
@ -46,7 +46,7 @@ func TestThrottle(test *testing.T) {
|
||||
t := NewThrottleTimer("foo", delay)
|
||||
|
||||
// start at 0
|
||||
c := &thCounter{input: t.Ch}
|
||||
c := &thCounter{input: t.C()}
|
||||
assert.Equal(0, c.Count())
|
||||
go c.Read()
|
||||
|
||||
|
Reference in New Issue
Block a user