Skip to content

Commit

Permalink
tests: raise dust limit on mpp test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
niftynei committed Oct 7, 2021
1 parent a1c4fe4 commit 6a5a94a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_pay.py
Original file line number Diff line number Diff line change
Expand Up @@ -3455,7 +3455,8 @@ def test_mpp_presplit(node_factory):

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

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

0 comments on commit 6a5a94a

Please sign in to comment.