Skip to content

Commit

Permalink
Fix max swap amount var name
Browse files Browse the repository at this point in the history
  • Loading branch information
Reckless-Satoshi committed Feb 11, 2024
1 parent 5509340 commit 82de630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ def get(self, request):
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(
Expand Down

0 comments on commit 82de630

Please sign in to comment.