mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
funder_policy: set default to 0
As we move to advertising liquidity, set the default to not have any fuzz. This means we won't randomly reject an offer to buy liquidity.
This commit is contained in:
parent
d6b302b52f
commit
9431984cef
@ -86,7 +86,7 @@ default_funder_policy(const tal_t *ctx,
|
||||
AMOUNT_SAT(UINT_MAX),
|
||||
AMOUNT_SAT(10000),
|
||||
AMOUNT_SAT(UINT_MAX),
|
||||
5, /* fuzz_factor */
|
||||
0, /* fuzz_factor */
|
||||
AMOUNT_SAT(0), /* reserve_tank */
|
||||
100);
|
||||
}
|
||||
|
@ -1000,7 +1000,7 @@ def test_funder_options(node_factory, bitcoind):
|
||||
assert funder_opts['per_channel_min'] == '10000000msat'
|
||||
assert funder_opts['per_channel_max'] == '4294967295000msat'
|
||||
assert funder_opts['reserve_tank'] == '0msat'
|
||||
assert funder_opts['fuzz_percent'] == 5
|
||||
assert funder_opts['fuzz_percent'] == 0
|
||||
assert funder_opts['fund_probability'] == 100
|
||||
|
||||
# l2 funds a chanenl with us. We don't contribute
|
||||
|
Loading…
Reference in New Issue
Block a user