@@ -17,7 +17,7 @@ def test_splice(node_factory, bitcoind):
1717 chan_id = l1 .get_channel_id (l2 )
1818
1919 # add extra sats to pay fee
20- funds_result = l1 .rpc .fundpsbt ("105790sat " , 0 , 0 , excess_as_change = True )
20+ funds_result = l1 .rpc .fundpsbt ("111722sat " , 0 , 0 , excess_as_change = True )
2121
2222 result = l1 .rpc .splice_init (chan_id , 100000 , funds_result ['psbt' ])
2323 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
@@ -59,7 +59,7 @@ def test_two_chan_splice_in(node_factory, bitcoind):
5959 chan_id2 = l2 .get_channel_id (l3 )
6060
6161 # add extra sats to pay fee
62- funds_result = l2 .rpc .fundpsbt ("205790sat " , 0 , 0 , excess_as_change = True )
62+ funds_result = l2 .rpc .fundpsbt ("211722sat " , 0 , 0 , excess_as_change = True )
6363
6464 # Intiate splices to both channels
6565 result = l2 .rpc .splice_init (chan_id1 , 100000 , funds_result ['psbt' ])
@@ -130,8 +130,8 @@ def test_splice_rbf(node_factory, bitcoind):
130130
131131 funds_result = l1 .rpc .addpsbtoutput (100000 )
132132
133- # Pay with fee by subtracting 5000 from channel balance
134- result = l1 .rpc .splice_init (chan_id , - 105000 , funds_result ['psbt' ])
133+ # Pay with fee by subtracting 5801 from channel balance
134+ result = l1 .rpc .splice_init (chan_id , - 105801 , funds_result ['psbt' ])
135135 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
136136 assert (result ['commitments_secured' ] is False )
137137 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
@@ -151,7 +151,7 @@ def test_splice_rbf(node_factory, bitcoind):
151151 funds_result = l1 .rpc .addpsbtoutput (100000 )
152152
153153 # Pay with fee by subtracting 5790 from channel balance
154- result = l1 .rpc .splice_init (chan_id , - 105790 , funds_result ['psbt' ])
154+ result = l1 .rpc .splice_init (chan_id , - 111722 , funds_result ['psbt' ])
155155 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
156156 assert (result ['commitments_secured' ] is False )
157157 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
@@ -189,7 +189,7 @@ def test_splice_nosign(node_factory, bitcoind):
189189 chan_id = l1 .get_channel_id (l2 )
190190
191191 # add extra sats to pay fee
192- funds_result = l1 .rpc .fundpsbt ("105790sat " , 0 , 0 , excess_as_change = True )
192+ funds_result = l1 .rpc .fundpsbt ("111722sat " , 0 , 0 , excess_as_change = True )
193193
194194 result = l1 .rpc .splice_init (chan_id , 100000 , funds_result ['psbt' ])
195195 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
@@ -214,7 +214,7 @@ def test_splice_gossip(node_factory, bitcoind):
214214 pre_splice_scid = first_scid (l1 , l2 )
215215
216216 # add extra sats to pay fee
217- funds_result = l1 .rpc .fundpsbt ("105790sat " , 0 , 0 , excess_as_change = True )
217+ funds_result = l1 .rpc .fundpsbt ("111722sat " , 0 , 0 , excess_as_change = True )
218218
219219 result = l1 .rpc .splice_init (chan_id , 100000 , funds_result ['psbt' ])
220220 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
@@ -277,7 +277,7 @@ def test_splice_listnodes(node_factory, bitcoind):
277277 chan_id = l1 .get_channel_id (l2 )
278278
279279 # add extra sats to pay fee
280- funds_result = l1 .rpc .fundpsbt ("105790sat " , 0 , 0 , excess_as_change = True )
280+ funds_result = l1 .rpc .fundpsbt ("111722sat " , 0 , 0 , excess_as_change = True )
281281
282282 result = l1 .rpc .splice_init (chan_id , 100000 , funds_result ['psbt' ])
283283 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
@@ -314,8 +314,8 @@ def test_splice_out(node_factory, bitcoind):
314314
315315 funds_result = l1 .rpc .addpsbtoutput (100000 )
316316
317- # Pay with fee by subjtracting 5000 from channel balance
318- result = l1 .rpc .splice_init (chan_id , - 105000 , funds_result ['psbt' ])
317+ # Pay with fee by subjtracting 5801 from channel balance
318+ result = l1 .rpc .splice_init (chan_id , - 105801 , funds_result ['psbt' ])
319319 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
320320 assert (result ['commitments_secured' ] is False )
321321 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
@@ -372,7 +372,7 @@ def test_invalid_splice(node_factory, bitcoind):
372372 assert l1 .db_query ("SELECT count(*) as c FROM channel_funding_inflights;" )[0 ]['c' ] == 0
373373
374374 # Now we do a real splice to confirm everything works after restart
375- funds_result = l1 .rpc .fundpsbt ("105790sat " , 0 , 0 , excess_as_change = True )
375+ funds_result = l1 .rpc .fundpsbt ("111722sat " , 0 , 0 , excess_as_change = True )
376376
377377 result = l1 .rpc .splice_init (chan_id , 100000 , funds_result ['psbt' ])
378378 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
@@ -408,7 +408,7 @@ def test_commit_crash_splice(node_factory, bitcoind):
408408
409409 chan_id = l1 .get_channel_id (l2 )
410410
411- result = l1 .rpc .splice_init (chan_id , - 105000 , l1 .rpc .addpsbtoutput (100000 )['psbt' ])
411+ result = l1 .rpc .splice_init (chan_id , - 105801 , l1 .rpc .addpsbtoutput (100000 )['psbt' ])
412412 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
413413 assert (result ['commitments_secured' ] is False )
414414 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
@@ -467,7 +467,7 @@ def test_splice_stuck_htlc(node_factory, bitcoind, executor):
467467 chan_id = l1 .get_channel_id (l2 )
468468
469469 # add extra sats to pay fee
470- funds_result = l1 .rpc .fundpsbt ("105790sat " , 0 , 0 , excess_as_change = True )
470+ funds_result = l1 .rpc .fundpsbt ("111722sat " , 0 , 0 , excess_as_change = True )
471471
472472 result = l1 .rpc .splice_init (chan_id , 100000 , funds_result ['psbt' ])
473473 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
@@ -513,7 +513,7 @@ def test_route_by_old_scid(node_factory, bitcoind):
513513 route = l1 .rpc .getroute (l3 .info ['id' ], 10000000 , 1 , cltv = 16 )['route' ]
514514
515515 # Do a splice
516- funds_result = l2 .rpc .fundpsbt ("105790sat " , 0 , 0 , excess_as_change = True )
516+ funds_result = l2 .rpc .fundpsbt ("111722sat " , 0 , 0 , excess_as_change = True )
517517 chan_id = l2 .get_channel_id (l3 )
518518 result = l2 .rpc .splice_init (chan_id , 100000 , funds_result ['psbt' ])
519519 result = l2 .rpc .splice_update (chan_id , result ['psbt' ])
@@ -533,7 +533,7 @@ def test_route_by_old_scid(node_factory, bitcoind):
533533
534534 # Let's splice again, so the original scid is two behind the times.
535535 l3 .fundwallet (200000 )
536- funds_result = l3 .rpc .fundpsbt ("105790sat " , 0 , 0 , excess_as_change = True )
536+ funds_result = l3 .rpc .fundpsbt ("111722sat " , 0 , 0 , excess_as_change = True )
537537 chan_id = l3 .get_channel_id (l2 )
538538 result = l3 .rpc .splice_init (chan_id , 100000 , funds_result ['psbt' ])
539539 result = l3 .rpc .splice_update (chan_id , result ['psbt' ])
@@ -566,7 +566,7 @@ def test_splice_unannounced(node_factory, bitcoind):
566566 chan_id = l1 .get_channel_id (l2 )
567567
568568 # add extra sats to pay fee
569- funds_result = l1 .rpc .fundpsbt ("105790sat " , 0 , 0 , excess_as_change = True )
569+ funds_result = l1 .rpc .fundpsbt ("111722sat " , 0 , 0 , excess_as_change = True )
570570 result = l1 .rpc .splice_init (chan_id , 100000 , funds_result ['psbt' ])
571571 result = l1 .rpc .splice_update (chan_id , result ['psbt' ])
572572 assert (result ['commitments_secured' ] is False )
0 commit comments