From 62c8ffb65b796a7a41e76c91b947e20c0fe24530 Mon Sep 17 00:00:00 2001 From: Lucas Soriano del Pino Date: Wed, 6 Oct 2021 12:43:11 +1100 Subject: [PATCH] Avoid overlapping CETs in dummy payouts --- daemon/src/payout_curve.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/src/payout_curve.rs b/daemon/src/payout_curve.rs index 4361989..ea86576 100644 --- a/daemon/src/payout_curve.rs +++ b/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, )?,