diff --git a/basicswap/basicswap.py b/basicswap/basicswap.py index 6969725..72b9b92 100644 --- a/basicswap/basicswap.py +++ b/basicswap/basicswap.py @@ -302,7 +302,7 @@ class BasicSwap(BaseApp): # TODO: Set dynamically self.balance_only_coins = (Coins.LTC_MWEB, ) self.scriptless_coins = (Coins.XMR, Coins.WOW, Coins.PART_ANON, Coins.FIRO) - self.adaptor_swap_only_coins = self.scriptless_coins + (Coins.PART_BLIND, ) + self.adaptor_swap_only_coins = self.scriptless_coins + (Coins.PART_BLIND, Coins.BCH) self.coins_without_segwit = (Coins.PIVX, Coins.DASH, Coins.NMC) # TODO: Adjust ranges diff --git a/basicswap/templates/offer_new_1.html b/basicswap/templates/offer_new_1.html index 14d4f87..6758519 100644 --- a/basicswap/templates/offer_new_1.html +++ b/basicswap/templates/offer_new_1.html @@ -409,7 +409,7 @@ document.getElementById('get_rate_inferred_button').addEventListener('click', getRateInferred); function set_swap_type_enabled(coin_from, coin_to, swap_type) { - const adaptor_sig_only_coins = ['6' /* XMR */,'9' /* WOW */, '8' /* PART_ANON */, '7' /* PART_BLIND */, '13' /* FIRO */]; + const adaptor_sig_only_coins = ['6' /* XMR */,'9' /* WOW */, '8' /* PART_ANON */, '7' /* PART_BLIND */, '13' /* FIRO */, '17' /* BCH */]; const secret_hash_only_coins = ['11' /* PIVX */, '12' /* DASH */]; let make_hidden = false; if (adaptor_sig_only_coins.includes(coin_from) || adaptor_sig_only_coins.includes(coin_to)) {