We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70f4618 commit a4e77abCopy full SHA for a4e77ab
1 file changed
pallets/hsm/src/lib.rs
@@ -1372,7 +1372,6 @@ where
1372
info: &CollateralInfo<T::AssetId>,
1373
state: &PoolSnapshot<T::AssetId>,
1374
) -> Option<Balance> {
1375
- //let mut sell_amount_max = imbalance;
1376
let mut sell_amount_max = hydra_dx_math::hsm::calculate_buyback_limit(imbalance, info.buyback_rate);
1377
let mut sell_amount_min = 0u128;
1378
let mut sell_amount = sell_amount_max / 2;
0 commit comments