mirror of
https://github.com/basicswap/basicswap.git
synced 2026-02-27 00:15:09 +01:00
Merge pull request #427 from nahuhh/amm_patch-1
amm: remove duplicate minrate check
This commit is contained in:
@@ -1169,11 +1169,6 @@ def process_offers(args, config, script_state) -> None:
|
||||
)
|
||||
use_rate = offer_template["minrate"]
|
||||
|
||||
# Final minimum rate check after all adjustments
|
||||
if use_rate < offer_template["minrate"]:
|
||||
print("Warning: Final rate clamping to minimum after all adjustments.")
|
||||
use_rate = offer_template["minrate"]
|
||||
|
||||
if args.debug:
|
||||
print(
|
||||
"Creating offer for: {} at rate: {}".format(
|
||||
|
||||
Reference in New Issue
Block a user