Skip to content

Commit

Permalink
fixup! Deribit: Add Subscription configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Dec 13, 2024
1 parent 4fa7bc3 commit c3e5308
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exchanges/deribit/deribit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3280,6 +3280,9 @@ func TestGenerateSubscriptions(t *testing.T) {
exp := subscription.List{}
for _, s := range d.Features.Subscriptions {
for _, a := range d.GetAssetTypes(true) {
if !d.IsAssetWebsocketSupported(a) {
continue
}
pairs, err := d.GetEnabledPairs(a)
require.NoErrorf(t, err, "GetEnabledPairs %s must not error", a)
s := s.Clone() //nolint:govet // Intentional lexical scope shadow
Expand Down

0 comments on commit c3e5308

Please sign in to comment.