1
0

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).
This commit is contained in:
f321x
2025-05-20 18:34:46 +02:00
parent 00136ed8c0
commit 539b83c2e4

View File

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