mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-29 11:15:50 +00:00
fix e2e generate test
This commit is contained in:
@@ -69,7 +69,7 @@ func WaitForOneEvent(c EventsClient, evtTyp string, timeout time.Duration) (type
|
||||
}
|
||||
// make sure to unregister after the test is over
|
||||
defer func() {
|
||||
if deferErr := c.UnsubscribeAll(context.Background(), subscriber); deferErr != nil {
|
||||
if deferErr := c.UnsubscribeAll(ctx, subscriber); deferErr != nil {
|
||||
panic(deferErr)
|
||||
}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user