Skip to content

Commit

Permalink
fixup! Bitstamp: Add subscription configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Aug 20, 2024
1 parent 662378b commit 7593a5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exchanges/bitstamp/bitstamp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1047,9 +1047,9 @@ func TestGenerateSubscriptions(t *testing.T) {
exp := subscription.List{}
pairs, err := b.GetEnabledPairs(asset.Spot)
require.NoError(t, err, "GetEnabledPairs must not error")
for _, s := range b.Features.Subscriptions {
for _, baseSub := range b.Features.Subscriptions {
for _, p := range pairs.Format(currency.PairFormat{Uppercase: false}) {
s = s.Clone()
s := baseSub.Clone()
s.Pairs = currency.Pairs{p}
s.QualifiedChannel = channelName(s) + "_" + p.String()
exp = append(exp, s)
Expand Down

0 comments on commit 7593a5f

Please sign in to comment.