commit ba74844b2e4d44283a78588abfe494cbf29f983f
parent 21ee6f696557a7cbca05b591fa55d9a992c98270
Author: Janus <ysangkok@gmail.com>
Date: Tue, 17 Jul 2018 15:39:24 +0200
lnbase: fee handling: add todo since depth_to_fee is inappropriate
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)