Browse Source

(temporary) disable e2e and dual trampoline if first trampoline is ACINQ

patch-4
ThomasV 4 years ago
parent
commit
c3221f7bfe
  1. 5
      electrum/trampoline.py

5
electrum/trampoline.py

@ -107,6 +107,11 @@ def create_trampoline_route(
params = TRAMPOLINE_FEES[trampoline_fee_level]
else:
raise NoPathFound()
# temporary fix: until ACINQ uses a proper feature bit to detect
# Phoenix, they might try to open channels when payments fail
if trampoline_node_id == TRAMPOLINE_NODES_MAINNET['ACINQ'].pubkey:
is_legacy = True
use_two_trampolines = False
# add optional second trampoline
trampoline2 = None
if is_legacy and use_two_trampolines:

Loading…
Cancel
Save