@@ -1047,6 +1047,7 @@ def test_funder_options(node_factory, bitcoind):
10471047 assert funder_opts ['reserve_tank_msat' ] == Millisatoshi ('0msat' )
10481048 assert funder_opts ['fuzz_percent' ] == 0
10491049 assert funder_opts ['fund_probability' ] == 100
1050+ assert funder_opts ['leases_only' ]
10501051
10511052 # l2 funds a chanenl with us. We don't contribute
10521053 l2 .rpc .connect (l1 .info ['id' ], 'localhost' , l1 .port )
@@ -1066,7 +1067,8 @@ def test_funder_options(node_factory, bitcoind):
10661067 'per_channel_max_msat' : '10000000000msat' ,
10671068 'reserve_tank_msat' : '3000000msat' ,
10681069 'fund_probability' : 99 ,
1069- 'fuzz_percent' : 0 })
1070+ 'fuzz_percent' : 0 ,
1071+ 'leases_only' : False })
10701072
10711073 assert funder_opts ['policy' ] == 'available'
10721074 assert funder_opts ['policy_mod' ] == 100
@@ -1126,7 +1128,8 @@ def test_funder_contribution_limits(node_factory, bitcoind):
11261128 'min_their_funding_msat' : '1000msat' ,
11271129 'per_channel_min_msat' : '1000000msat' ,
11281130 'fund_probability' : 100 ,
1129- 'fuzz_percent' : 0 })
1131+ 'fuzz_percent' : 0 ,
1132+ 'leases_only' : False })
11301133
11311134 # Set our contribution to 50k sat, should only use 7 of 12 available utxos
11321135 l3 .rpc .call ('funderupdate' ,
@@ -1136,7 +1139,8 @@ def test_funder_contribution_limits(node_factory, bitcoind):
11361139 'per_channel_min_msat' : '1000sat' ,
11371140 'per_channel_max_msat' : '500000sat' ,
11381141 'fund_probability' : 100 ,
1139- 'fuzz_percent' : 0 })
1142+ 'fuzz_percent' : 0 ,
1143+ 'leases_only' : False })
11401144
11411145 l1 .rpc .connect (l2 .info ['id' ], 'localhost' , l2 .port )
11421146 l1 .fundchannel (l2 , 10 ** 7 )
0 commit comments