mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
lnbase: fee handling: add todo since depth_to_fee is inappropriate
This commit is contained in:
parent
adbd3e9883
commit
f3bd710bbf
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue