Skip to content

Commit f5e9cfe

Browse files
committed
yarn lint/prettier
1 parent f4252d3 commit f5e9cfe

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

sdk/src/dlob/DLOBSubscriber.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,10 @@ export class DLOBSubscriber {
141141
marketAccount: this.driftClient.getPerpMarketAccount(marketIndex),
142142
oraclePriceData,
143143
numOrders: numVammOrders ?? depth,
144-
topOfBookQuoteAmounts: marketIndex < 3 ? MAJORS_TOP_OF_BOOK_QUOTE_AMOUNTS : DEFAULT_TOP_OF_BOOK_QUOTE_AMOUNTS,
144+
topOfBookQuoteAmounts:
145+
marketIndex < 3
146+
? MAJORS_TOP_OF_BOOK_QUOTE_AMOUNTS
147+
: DEFAULT_TOP_OF_BOOK_QUOTE_AMOUNTS,
145148
}),
146149
];
147150
}

sdk/src/dlob/orderBookLevels.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
standardizeBaseAssetAmount,
2323
} from '..';
2424
import { PublicKey } from '@solana/web3.js';
25-
import { assert } from '../assert/assert';
2625

2726
type liquiditySource =
2827
| 'serum'

0 commit comments

Comments
 (0)