Skip to content

Commit 2b8dd04

Browse files
committed
Revert "sdk: bigz/fix-vamm-l2-generator-baseSwapped var assign (#1622)"
This reverts commit e49cfd5.
1 parent c0462ab commit 2b8dd04

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
@@ -240,7 +240,7 @@ export function getVammL2Generator({
240240
SwapDirection.REMOVE
241241
);
242242

243-
baseSwapped = standardizeBaseAssetAmount(
243+
standardizeBaseAssetAmount(
244244
bidAmm.baseAssetReserve.sub(afterSwapBaseReserves).abs(),
245245
marketAccount.amm.orderStepSize
246246
);

0 commit comments

Comments
 (0)