Skip to content

Commit

Permalink
fixup! Kraken: Subscription templating
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Aug 15, 2024
1 parent fd5bc1c commit 2813a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/kraken/kraken_websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ func (k *Kraken) getRespErr(resp []byte) error {
case err != nil:
return fmt.Errorf("error parsing WS event: %w from message: %s", err, resp)
case event != "error":
status, _ := jsonparser.GetUnsafeString(resp, "status") // Error is really irrellevant here
status, _ := jsonparser.GetUnsafeString(resp, "status") // Error is really irrelevant here
if status != "error" {
return nil
}
Expand Down

0 comments on commit 2813a9f

Please sign in to comment.