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