From 9f3627f09dd6f5b46cb6bcef90233da427aa5155 Mon Sep 17 00:00:00 2001 From: lisa neigut Date: Fri, 22 Feb 2019 11:38:56 -0800 Subject: [PATCH] opening_control: use chainparams for dust_limit in channel config tiny fixup to use chainparams instead of inline constant. --- lightningd/opening_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/opening_control.c b/lightningd/opening_control.c index 92767353d..9db54b122 100644 --- a/lightningd/opening_control.c +++ b/lightningd/opening_control.c @@ -668,7 +668,7 @@ static void channel_config(struct lightningd *ld, * - set `dust_limit_satoshis` to a sufficient value to allow * commitment transactions to propagate through the Bitcoin network. */ - ours->dust_limit = AMOUNT_SAT(546); + ours->dust_limit = get_chainparams(ld)->dust_limit; ours->max_htlc_value_in_flight = AMOUNT_MSAT(UINT64_MAX); /* Don't care */