Browse Source

Avoid overlapping CETs in dummy payouts

upload-correct-windows-binary
Lucas Soriano del Pino 3 years ago
parent
commit
62c8ffb65b
No known key found for this signature in database GPG Key ID: EE611E973A1530E7
  1. 4
      daemon/src/payout_curve.rs

4
daemon/src/payout_curve.rs

@ -17,9 +17,9 @@ pub fn calculate(
maker_payin + taker_payin,
bitcoin::Amount::ZERO,
)?,
generate_payouts((dollars - 10)..=(dollars + 10), maker_payin, taker_payin)?,
generate_payouts((dollars - 9)..=(dollars + 10), maker_payin, taker_payin)?,
generate_payouts(
(dollars + 10)..=MAX_PRICE_DEC,
(dollars + 11)..=MAX_PRICE_DEC,
bitcoin::Amount::ZERO,
maker_payin + taker_payin,
)?,

Loading…
Cancel
Save