Skip to content

Commit a8c061e

Browse files
niftyneicdecker
authored andcommitted
tests: raise dust limit on mpp test
Fails liquid-regtest otherwise; liquid tends to hit the dust limit earlier than non-liquid tx, and MPP exacerbates this by divvying up payments into dusty bits then attempting to shove them through the same channel, hitting the dust max. The MPP then fails as not all the parts were able to arrive at their destination.
1 parent 1ee5835 commit a8c061e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_pay.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3570,7 +3570,8 @@ def test_mpp_presplit(node_factory):
35703570

35713571
l1, l2, l3 = node_factory.line_graph(
35723572
3, fundamount=10**8, wait_for_announce=True,
3573-
opts={'wumbo': None}
3573+
opts={'wumbo': None,
3574+
'max-dust-htlc-exposure-msat': '500000sat'}
35743575
)
35753576

35763577
inv = l3.rpc.invoice(amt, 'lbl', 'desc')['bolt11']

0 commit comments

Comments
 (0)