mirror of
https://github.com/basicswap/basicswap.git
synced 2026-02-27 08:15:11 +01:00
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"]
|
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:
|
if args.debug:
|
||||||
print(
|
print(
|
||||||
"Creating offer for: {} at rate: {}".format(
|
"Creating offer for: {} at rate: {}".format(
|
||||||
|
|||||||
Reference in New Issue
Block a user