commit 4c177c4c9269a3fb8dda8536f4d7f663c0e80180
parent 01981f71fba61190422a4b6bb682bfc12d4200b8
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 4 Mar 2020 08:35:56 +0100
less verbose update_fee log
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py
@@ -1294,14 +1294,14 @@ class Peer(Logger):
return
feerate_per_kw = self.lnworker.current_feerate_per_kw()
chan_fee = chan.get_next_feerate(REMOTE)
- self.logger.info(f"(chan: {chan.get_id_for_log()}) current pending feerate {chan_fee}. "
- f"new feerate {feerate_per_kw}")
if feerate_per_kw < chan_fee / 2:
self.logger.info("FEES HAVE FALLEN")
elif feerate_per_kw > chan_fee * 2:
self.logger.info("FEES HAVE RISEN")
else:
return
+ self.logger.info(f"(chan: {chan.get_id_for_log()}) current pending feerate {chan_fee}. "
+ f"new feerate {feerate_per_kw}")
chan.update_fee(feerate_per_kw, True)
remote_ctn = chan.get_latest_ctn(REMOTE)
self.send_message("update_fee",