ui: Don't list LTC MWEB yet on offers page.

This commit is contained in:
tecnovert
2024-01-31 21:16:42 +02:00
parent 28fc4817c0
commit 1ec1764012
3 changed files with 5 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2022-2023 tecnovert
# Copyright (c) 2022-2024 tecnovert
# Distributed under the MIT software license, see the accompanying
# file LICENSE or http://www.opensource.org/licenses/mit-license.php.

View File

@@ -453,9 +453,7 @@ def listAvailableCoins(swap_client, with_variants=True, split_from=False):
coins_from.append(coins[-1])
if with_variants and k == Coins.LTC:
for v in (Coins.LTC_MWEB, ):
coins.append((int(v), getCoinName(v)))
if split_from and v not in invalid_coins_from:
coins_from.append(coins[-1])
pass # Add when swappable
if split_from:
return coins_from, coins
return coins