Skip to content

Commit

Permalink
bitstamp: fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan O'Hara-Reid committed Dec 12, 2024
1 parent b015319 commit 999a108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/bitstamp/bitstamp_websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (b *Bitstamp) handleWSSubscription(event string, respRaw []byte) error {
}
event = strings.TrimSuffix(event, "scription_succeeded")
if !b.Websocket.Match.IncomingWithData(event+":"+channel, respRaw) {
return fmt.Errorf("%w: %s", stream.ErrNoMessageListener, event+":"+channel)
return fmt.Errorf("%w: %s", stream.ErrSignatureNotMatched, event+":"+channel)
}
return nil
}
Expand Down

0 comments on commit 999a108

Please sign in to comment.