mirror of
https://github.com/bitromortac/lndmanage.git
synced 2026-08-13 12:33:37 +02:00
liquidityhints: remove hint timestamp
This commit is contained in:
parent
6b4fc8f75c
commit
c8f1a9322e
1 changed files with 4 additions and 2 deletions
|
|
@ -53,7 +53,6 @@ class LiquidityHint:
|
|||
self._can_send_backward = AmountHistory()
|
||||
self._cannot_send_backward = AmountHistory()
|
||||
self.blacklist_timestamp = 0
|
||||
self.hint_timestamp = 0
|
||||
self._inflight_htlcs_forward = 0
|
||||
self._inflight_htlcs_backward = 0
|
||||
|
||||
|
|
@ -364,7 +363,10 @@ class LiquidityHintMgr:
|
|||
|
||||
def reset_liquidity_hints(self):
|
||||
for k, v in self._liquidity_hints.items():
|
||||
v.hint_timestamp = 0
|
||||
v._can_send_forward = AmountHistory()
|
||||
v._can_send_backward = AmountHistory()
|
||||
v._cannot_send_forward = AmountHistory()
|
||||
v._cannot_send_backward = AmountHistory()
|
||||
|
||||
def __repr__(self):
|
||||
string = "liquidity hints:\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue