Fix CTNs in should_be_closed_due_to_expiring_htlcs (fixes #7906).
Also fix sending too many fee updates. Rename lnworker.on_channel_update, that name was misleading.
This commit is contained in:
@@ -19,7 +19,7 @@ class HTLCManager:
|
||||
'locked_in': {}, # "side who offered htlc" -> action -> htlc_id -> whose ctx -> ctn
|
||||
'settles': {}, # "side who offered htlc" -> action -> htlc_id -> whose ctx -> ctn
|
||||
'fails': {}, # "side who offered htlc" -> action -> htlc_id -> whose ctx -> ctn
|
||||
'fee_updates': {}, # "side who initiated fee update" -> action -> list of FeeUpdates
|
||||
'fee_updates': {}, # "side who initiated fee update" -> index -> list of FeeUpdates
|
||||
'revack_pending': False,
|
||||
'next_htlc_id': 0,
|
||||
'ctn': -1, # oldest unrevoked ctx of sub
|
||||
|
||||
Reference in New Issue
Block a user