From ba74844b2e4d44283a78588abfe494cbf29f983f Mon Sep 17 00:00:00 2001 From: Janus Date: Tue, 17 Jul 2018 15:39:24 +0200 Subject: [PATCH] lnbase: fee handling: add todo since depth_to_fee is inappropriate --- electrum/lnbase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/lnbase.py b/electrum/lnbase.py index 1b43d5d45..bc1bbc187 100644 --- a/electrum/lnbase.py +++ b/electrum/lnbase.py @@ -1025,6 +1025,8 @@ class Peer(PrintError): # TODO force close if initiator does not update_fee enough return + # TODO should use target_to_fee from master + # target_to_fee(10*1000000) # 10 MB feerate_per_kvbyte = self.network.config.depth_to_fee(10) feerate_per_kw = feerate_per_kvbyte / 4 self.print_error("current feerate", chan.remote_state.feerate)