lnbase: fee handling: add todo since depth_to_fee is inappropriate

This commit is contained in:
Janus 2018-07-17 15:39:24 +02:00 committed by SomberNight
parent adbd3e9883
commit f3bd710bbf
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -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)