From 82de630497f743ef2ba90a6c3b427c31bc0e95c8 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Sun, 11 Feb 2024 17:19:43 +0000 Subject: [PATCH] Fix max swap amount var name --- api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/views.py b/api/views.py index 79647084..53e15292 100644 --- a/api/views.py +++ b/api/views.py @@ -799,7 +799,7 @@ class InfoView(viewsets.ViewSet): context["min_order_size"] = config("MIN_ORDER_SIZE", cast=int, default=20000) context["max_order_size"] = config("MAX_ORDER_SIZE", cast=int, default=250000) context["swap_enabled"] = not config("DISABLE_ONCHAIN", cast=bool, default=True) - context["max_swap"] = config("MAX_SWAP_ALLOWED", cast=int, default=0) + context["max_swap"] = config("MAX_SWAP_AMOUNT", cast=int, default=0) try: context["current_swap_fee_rate"] = Logics.compute_swap_fee_rate(