mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21:35 +00:00
Fix max swap amount var name
This commit is contained in:
parent
5509340c99
commit
82de630497
@ -799,7 +799,7 @@ class InfoView(viewsets.ViewSet):
|
|||||||
context["min_order_size"] = config("MIN_ORDER_SIZE", cast=int, default=20000)
|
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["max_order_size"] = config("MAX_ORDER_SIZE", cast=int, default=250000)
|
||||||
context["swap_enabled"] = not config("DISABLE_ONCHAIN", cast=bool, default=True)
|
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:
|
try:
|
||||||
context["current_swap_fee_rate"] = Logics.compute_swap_fee_rate(
|
context["current_swap_fee_rate"] = Logics.compute_swap_fee_rate(
|
||||||
|
Loading…
Reference in New Issue
Block a user