Skip to content

Commit

Permalink
fixup! Subscriptions: Respect subscription Pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Jul 12, 2024
1 parent 715aca8 commit cf79587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/subscription/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func expandTemplate(e iExchange, s *Subscription, ap assetPairs, assets asset.It

if len(s.Pairs) != 0 {
for a, pairs := range subCtx.AssetPairs {
if err := pairs.ContainsAll(s.Pairs, true); err != nil {
if err = pairs.ContainsAll(s.Pairs, true); err != nil {
return nil, err
}
subCtx.AssetPairs[a] = s.Pairs
Expand Down

0 comments on commit cf79587

Please sign in to comment.