mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-09 21:40:11 +00:00
Remove channel capacity constraint in test helper to avoid missing messages
Signed-off-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
@@ -380,7 +380,7 @@ func subscribeToVoter(ctx context.Context, t *testing.T, cs *State, addr []byte,
|
||||
vt[t] = struct{}{}
|
||||
}
|
||||
|
||||
ch := make(chan tmpubsub.Message, 1)
|
||||
ch := make(chan tmpubsub.Message)
|
||||
if err := cs.eventBus.Observe(ctx, func(msg tmpubsub.Message) error {
|
||||
vote := msg.Data().(types.EventDataVote)
|
||||
// we only fire for our own votes
|
||||
|
||||
Reference in New Issue
Block a user