updated SwapOrderStatus with Andrew's changes
This commit is contained in:
@@ -178,11 +178,11 @@ export function applyLine(tranche, isMinimum, intercept, slope) {
|
||||
m = encodeIEE754(m)
|
||||
b = encodeIEE754(b)
|
||||
if (isMinimum) {
|
||||
tranche.minIntercept = b;
|
||||
tranche.minSlope = m;
|
||||
tranche.minLine.intercept = b;
|
||||
tranche.minLine.slope = m;
|
||||
} else {
|
||||
tranche.maxIntercept = b;
|
||||
tranche.maxSlope = m;
|
||||
tranche.maxLine.intercept = b;
|
||||
tranche.maxLine.slope = m;
|
||||
}
|
||||
tranche.marketOrder = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user