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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user