Browse Source

lnpeer: send update_fee if channel was never used (workaround eclair issue 1730)

patch-4
ThomasV 4 years ago
parent
commit
e3025b3d7b
  1. 5
      electrum/lnpeer.py

5
electrum/lnpeer.py

@ -1645,6 +1645,11 @@ class Peer(Logger):
self.logger.info("FEES HAVE FALLEN")
elif feerate_per_kw > chan_fee * 2:
self.logger.info("FEES HAVE RISEN")
elif chan.get_oldest_unrevoked_ctn(REMOTE) == 0:
# workaround eclair issue https://github.com/ACINQ/eclair/issues/1730
self.logger.info("updating fee to bump remote ctn")
if feerate_per_kw == chan_fee:
feerate_per_kw += 1
else:
return
self.logger.info(f"(chan: {chan.get_id_for_log()}) current pending feerate {chan_fee}. "

Loading…
Cancel
Save