Update packages/asset-swapper/src/utils/swap_quote_calculator.ts
Co-Authored-By: Jacob Evans <jacob@dekz.net>
This commit is contained in:
parent
09d05d09c9
commit
26cb22020d
@ -353,7 +353,7 @@ export class SwapQuoteCalculator {
|
||||
// partially filled.
|
||||
|
||||
// Infer the bridge slippage from the difference between the fill
|
||||
// size and the atual order asset amounts.
|
||||
// size and the actual order asset amounts.
|
||||
const makerAssetBridgeSlippage = !worstCase
|
||||
? constants.ONE_AMOUNT
|
||||
: order.makerAssetAmount.div(order.fill.totalMakerAssetAmount);
|
||||
|
Loading…
x
Reference in New Issue
Block a user