mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
fix for old channels
This commit is contained in:
parent
496de03869
commit
c15cc42a32
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ class HTLCManager:
|
|||
log[LOCAL] = deepcopy(initial)
|
||||
log[REMOTE] = deepcopy(initial)
|
||||
log['unacked_local_updates2'] = {}
|
||||
|
||||
if 'unfulfilled_htlcs' not in log:
|
||||
log['unfulfilled_htlcs'] = {} # htlc_id -> onion_packet
|
||||
|
||||
# maybe bootstrap fee_updates if initial_feerate was provided
|
||||
|
|
Loading…
Add table
Reference in a new issue