1
0

walletdb: chan dict: small clean-up (incl db upgrade)

- "fail_htlc_reasons" was removed in 9b1c40e396
- "unfulfilled_htlcs": rm 2 dead items from the 4-tuple,
   and convert False value of forwarding_key
This commit is contained in:
SomberNight
2024-03-01 16:28:46 +00:00
parent 0faadc0469
commit 30c9f5b6b1
4 changed files with 22 additions and 13 deletions

View File

@@ -108,7 +108,6 @@ def create_channel_state(funding_txid, funding_index, funding_sat, is_initiator,
'data_loss_protect_remote_pcp': {},
'state': 'PREOPENING',
'log': {},
'fail_htlc_reasons': {},
'unfulfilled_htlcs': {},
'revocation_store': {},
'channel_type': lnutil.ChannelType.OPTION_STATIC_REMOTEKEY