File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -709,21 +709,6 @@ export class grpcDriftClientAccountSubscriberV2
709709 await this . perpMarketsSubscriber . removeAccounts (
710710 perpMarketPubkeysToRemove
711711 ) ;
712- // Clean up the mapping for removed perp markets
713- for ( const pubkey of perpMarketPubkeysToRemove ) {
714- const pubkeyString = pubkey . toBase58 ( ) ;
715- for ( const [
716- marketIndex ,
717- accountPubkey ,
718- ] of this . perpMarketIndexToAccountPubkeyMap . entries ( ) ) {
719- if ( accountPubkey === pubkeyString ) {
720- this . perpMarketIndexToAccountPubkeyMap . delete ( marketIndex ) ;
721- this . perpOracleMap . delete ( marketIndex ) ;
722- this . perpOracleStringMap . delete ( marketIndex ) ;
723- break ;
724- }
725- }
726- }
727712 }
728713
729714 // Remove accounts in batches - oracles
You can’t perform that action at this time.
0 commit comments