v3.3.10: fix(#220): correctly detecting usdc pairs for unified perp ws market
This commit is contained in:
@@ -276,7 +276,10 @@ export function getWsKeyForTopic(
|
||||
return WS_KEY_MAP.unifiedPerpUSDTPublic;
|
||||
}
|
||||
|
||||
if (upperTopic.indexOf('USDC') !== -1) {
|
||||
if (
|
||||
upperTopic.indexOf('USDC') !== -1 ||
|
||||
upperTopic.indexOf('PERP') !== -1
|
||||
) {
|
||||
return WS_KEY_MAP.unifiedPerpUSDCPublic;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user