Skip to content

Commit 8ceb1c6

Browse files
authored
fix: prettier broken on grpc v2 subscriber (#1938)
1 parent ba0c8e3 commit 8ceb1c6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

sdk/src/accounts/grpcDriftClientAccountSubscriberV2.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,10 @@ export class grpcDriftClientAccountSubscriberV2 extends WebSocketDriftClientAcco
213213
marketIndex,
214214
accountPubkey,
215215
] of perpMarketIndexToAccountPubkeys) {
216-
this.perpMarketIndexToAccountPubkeyMap.set(marketIndex, accountPubkey.toBase58());
216+
this.perpMarketIndexToAccountPubkeyMap.set(
217+
marketIndex,
218+
accountPubkey.toBase58()
219+
);
217220
}
218221

219222
const perpMarketPubkeys = perpMarketIndexToAccountPubkeys.map(
@@ -272,7 +275,10 @@ export class grpcDriftClientAccountSubscriberV2 extends WebSocketDriftClientAcco
272275
marketIndex,
273276
accountPubkey,
274277
] of spotMarketIndexToAccountPubkeys) {
275-
this.spotMarketIndexToAccountPubkeyMap.set(marketIndex, accountPubkey.toBase58());
278+
this.spotMarketIndexToAccountPubkeyMap.set(
279+
marketIndex,
280+
accountPubkey.toBase58()
281+
);
276282
}
277283

278284
const spotMarketPubkeys = spotMarketIndexToAccountPubkeys.map(

0 commit comments

Comments
 (0)