1
0

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

This commit is contained in:
ThomasV
2021-03-22 16:23:01 +01:00
parent 0f4297cfa8
commit c3221f7bfe

View File

@@ -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: