From 62e7318f4679b6977927b56e7acfd2e51097bd53 Mon Sep 17 00:00:00 2001 From: Janus Date: Mon, 9 Jul 2018 15:29:49 +0200 Subject: [PATCH] ln: raise our dust/reserve to 546 to be compatible with c-lightning --- lib/lnbase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lnbase.py b/lib/lnbase.py index 47ab764f1..00688b617 100644 --- a/lib/lnbase.py +++ b/lib/lnbase.py @@ -518,7 +518,7 @@ class Peer(PrintError): delayed_basepoint=keypair_generator(keyfamilydelaybase, 0), revocation_basepoint=keypair_generator(keyfamilyrevocationbase, 0), to_self_delay=143, - dust_limit_sat=10, + dust_limit_sat=546, max_htlc_value_in_flight_msat=0xffffffffffffffff, max_accepted_htlcs=5 ) @@ -546,7 +546,7 @@ class Peer(PrintError): to_self_delay=local_config.to_self_delay, max_htlc_value_in_flight_msat=local_config.max_htlc_value_in_flight_msat, channel_flags=0x01, # publicly announcing channel - channel_reserve_satoshis=10 + channel_reserve_satoshis=546 ) self.send_message(msg) payload = await self.channel_accepted[temp_channel_id].get()