From c3221f7bfe931a5f50125f537ba506a8cd42b788 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 22 Mar 2021 16:23:01 +0100 Subject: [PATCH] (temporary) disable e2e and dual trampoline if first trampoline is ACINQ --- electrum/trampoline.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/electrum/trampoline.py b/electrum/trampoline.py index 892049d06..851897b60 100644 --- a/electrum/trampoline.py +++ b/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: