bugfix for limit/diagonal tranche building
This commit is contained in:
@@ -44,7 +44,7 @@ function buildTranches() {
|
||||
warnings.push('Slippage will be set to the minimum of 0.01%')
|
||||
const slip = Math.max(slippage.value, MIN_SLIPPAGE)
|
||||
return {
|
||||
tranches: [newTranche({slippage: slip / 100})],
|
||||
tranches: [newTranche({marketOrder: true, slippage: slip / 100})],
|
||||
warnings,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user