mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
pytest: increase channel sizes so they reach min capacity with option_anchor_outputs
With a feerate of 7500perkw and subtracting 660 sats for anchors, a 20,000 sat channel has capacity about 9800 sat, below our default: You gave bad parameters: channel capacity with funding 20000sat, reserves 546sat/546sat, max_htlc_value_in_flight_msat is 18446744073709551615msat, channel capacity is 9818sat, which is below 10000000msat So bump channel amounts. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
9fabf614f4
commit
74e960c20b
@@ -1383,7 +1383,7 @@ def test_forward_local_failed_stats(node_factory, bitcoind, executor):
|
||||
c12 = l1.fund_channel(l2, 10**6)
|
||||
c23 = l2.fund_channel(l3, 10**6)
|
||||
c24 = l2.fund_channel(l4, 10**6)
|
||||
c25 = l2.fund_channel(l5, 10**4 * 2)
|
||||
c25 = l2.fund_channel(l5, 10**4 * 3)
|
||||
l6.fund_channel(l1, 10**6)
|
||||
|
||||
# Make sure routes finalized.
|
||||
|
||||
Reference in New Issue
Block a user