Skip to content

Commit

Permalink
Fix: issue #54 (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky authored Jun 5, 2024
1 parent 89349a3 commit b1c2d24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion websocket/kraken.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ func (k *Kraken) resubscribe() error {
switch sub.Subscription.Name {
// Private Channels
case ChanOwnTrades, ChanOpenOrders:
return k.subscribeToPrivate(sub.Subscription.Name)
if err := k.subscribeToPrivate(sub.Subscription.Name); err != nil {
return err
}
default:
if err := k.send(SubscriptionRequest{
Event: EventSubscribe,
Expand Down

0 comments on commit b1c2d24

Please sign in to comment.