Closed crispheaney closed 4 hours ago
Drift client has option to subscribe for userStats, which is turned off by default But method driftClient.switchActiveUser creates userStats subscription regardless of this settings whenever client authority is changed
https://github.com/drift-labs/protocol-v2/blob/master/sdk/src/driftClient.ts#L835
https://github.com/drift-labs/protocol-v2/pull/1282/files
Drift client has option to subscribe for userStats, which is turned off by default But method driftClient.switchActiveUser creates userStats subscription regardless of this settings whenever client authority is changed
https://github.com/drift-labs/protocol-v2/blob/master/sdk/src/driftClient.ts#L835