mirror of
https://github.com/tendermint/tendermint.git
synced 2026-07-29 11:32:56 +00:00
Fix bug in receiveEventsRoutine error handling
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ func (wsc *WSClient) receiveEventsRoutine() {
|
||||
continue
|
||||
}
|
||||
if response.Error != "" {
|
||||
wsc.ErrorsCh <- fmt.Errorf(err.Error())
|
||||
wsc.ErrorsCh <- fmt.Errorf(response.Error)
|
||||
continue
|
||||
}
|
||||
wsc.ResultsCh <- *response.Result
|
||||
|
||||
Reference in New Issue
Block a user