mirror of
https://github.com/basicswap/basicswap.git
synced 2025-03-12 09:38:03 +00:00
Fix auto accept total for reverse bids.
This commit is contained in:
parent
08d3f05c1c
commit
4464ca1746
1 changed files with 1 additions and 1 deletions
|
@ -4503,7 +4503,7 @@ class BasicSwap(BaseApp):
|
|||
|
||||
total_bids_value_multiplier = opts.get('total_bids_value_multiplier', 1.0)
|
||||
if total_bids_value_multiplier > 0.0:
|
||||
if total_bids_value + bid.amount > offer.amount_from * total_bids_value_multiplier:
|
||||
if total_bids_value + bid_amount > offer.amount_from * total_bids_value_multiplier:
|
||||
raise AutomationConstraint('Over remaining offer value {}'.format(offer.amount_from * total_bids_value_multiplier - total_bids_value))
|
||||
|
||||
num_not_completed = 0
|
||||
|
|
Loading…
Reference in a new issue