Enable reverse adaptor sig swaps for segwit-less coins.

This commit is contained in:
tecnovert committed 2023-11-30 21:46:03 +02:00
1 parent ce578f8025
commit d4a6ad7d6f
6 files changed
+68 -36

No files matched your search

+1 -1
View File
@@ -584,7 +584,7 @@ function set_swap_type_enabled(coin_from, coin_to, swap_type) {
make_hidden = true;
swap_type.classList.add('select-disabled'); // Add the class to the disabled select
} else
if (secret_hash_only_coins.includes(coin_from)) {
if (secret_hash_only_coins.includes(coin_from) && secret_hash_only_coins.includes(coin_to)) {
swap_type.disabled = true;
swap_type.value = 'seller_first';
make_hidden = true;