Skip to content

Commit f17f6fb

Browse files
committed
fix
1 parent 704be76 commit f17f6fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reserve-protocol/dtf-rebalance-lib",
3-
"version": "2.4.3",
3+
"version": "2.4.4",
44
"description": "Rebalancing library for DTFs in typescript",
55
"main": "dist/index.js",
66
"module": "dist/index.js",

src/open-auction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ export const getOpenAuction = (
545545
const sellDownTo = (newWeights[i].high * newLimits.high * _supply + (D18n * D27n - 1n)) / D18n / D27n;
546546

547547
// {USD}
548-
const tradeThreshold = round == AuctionRound.EJECT ? ONE : ZERO;
548+
const tradeThreshold = round == AuctionRound.EJECT ? ZERO : ONE;
549549

550550
if (_assets[i] < buyUpTo) {
551551
// {wholeTok} = {tok} / {tok/wholeTok}

0 commit comments

Comments
 (0)