Skip to content

Commit 5d10627

Browse files
committed
fix ask book else baseSwapped calc
1 parent d579bc1 commit 5d10627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/src/dlob/orderBookLevels.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ export function getVammL2Generator({
370370
calculateAmmReservesAfterSwap(
371371
askAmm,
372372
'base',
373-
askSize,
373+
baseSwapped,
374374
SwapDirection.REMOVE
375375
);
376376

0 commit comments

Comments
 (0)