File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -694,7 +694,8 @@ export class grpcDriftClientAccountSubscriberV2
694694 // Build array of perp market pubkeys to remove
695695 const perpMarketPubkeysToRemove = perpMarketIndexes
696696 . map ( ( marketIndex ) => {
697- const pubkeyString = this . perpMarketIndexToAccountPubkeyMap . get ( marketIndex ) ;
697+ const pubkeyString =
698+ this . perpMarketIndexToAccountPubkeyMap . get ( marketIndex ) ;
698699 return pubkeyString ? new PublicKey ( pubkeyString ) : null ;
699700 } )
700701 . filter ( ( pubkey ) => pubkey !== null ) as PublicKey [ ] ;
@@ -704,7 +705,9 @@ export class grpcDriftClientAccountSubscriberV2
704705
705706 // Remove accounts in batches - perp markets
706707 if ( perpMarketPubkeysToRemove . length > 0 ) {
707- await this . perpMarketsSubscriber . removeAccounts ( perpMarketPubkeysToRemove ) ;
708+ await this . perpMarketsSubscriber . removeAccounts (
709+ perpMarketPubkeysToRemove
710+ ) ;
708711 }
709712
710713 // Remove accounts in batches - oracles
You can’t perform that action at this time.
0 commit comments