We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f515db commit c8f9841Copy full SHA for c8f9841
sdk/src/accounts/grpcDriftClientAccountSubscriberV2.ts
@@ -714,17 +714,6 @@ export class grpcDriftClientAccountSubscriberV2
714
// Remove accounts in batches - oracles
715
if (oraclePubkeysToRemove.length > 0) {
716
await this.oracleMultiSubscriber.removeAccounts(oraclePubkeysToRemove);
717
- // Clean up oracle data for removed oracles by finding their sources
718
- for (const pubkey of oraclePubkeysToRemove) {
719
- // Find the oracle source by checking oracleInfos
720
- const oracleInfo = this.oracleInfos.find((info) =>
721
- info.publicKey.equals(pubkey)
722
- );
723
- if (oracleInfo) {
724
- const oracleId = getOracleId(pubkey, oracleInfo.source);
725
- this.oracleIdToOracleDataMap.delete(oracleId);
726
- }
727
728
}
729
730
0 commit comments