From 539b83c2e44ce30e031ab98907691bf7faf927da Mon Sep 17 00:00:00 2001 From: f321x Date: Tue, 20 May 2025 18:34:46 +0200 Subject: [PATCH] followup #9845, fix broken mpp consolidation test fixes broken test_trampoline_mpp_consolidation caused to fail by https://github.com/spesmilo/electrum/pull/9845 by allowing single channel splits for trampoline payments if TEST_FORCE_MPP is Trues as the test relies on mpp through a single channel (it tests mpp and there is only a single channel on the graph). --- electrum/lnworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnworker.py b/electrum/lnworker.py index 8b84689fa..29a0508cf 100644 --- a/electrum/lnworker.py +++ b/electrum/lnworker.py @@ -1941,7 +1941,7 @@ class LNWallet(LNWorker): exclude_multinode_payments = is_legacy # we don't split within a channel when sending to a trampoline node, # the trampoline node will split for us - exclude_single_channel_splits = True + exclude_single_channel_splits = not self.config.TEST_FORCE_MPP else: exclude_multinode_payments = False exclude_single_channel_splits = False