1
0

wallet_db: convert_version_66: trivial simplification

This commit is contained in:
SomberNight
2025-12-10 15:53:17 +00:00
parent 7c01d9db75
commit 745318d1ec

View File

@@ -1325,7 +1325,7 @@ class WalletDBUpgrader(Logger):
old_payment_infos = self.data.get('lightning_payments', {})
for key, old_v in old_payment_infos.items():
amount_msat, status, min_final_cltv_expiry, expiry, creation_ts = old_v
invoice_features = 147712 # <VAR_ONION_REQ|PAYMENT_SECRET_REQ|BASIC_MPP_OPT: 0x24100>
invoice_features = 0x24100 # <VAR_ONION_REQ|PAYMENT_SECRET_REQ|BASIC_MPP_OPT>
new_v = (amount_msat, status, min_final_cltv_expiry, expiry, creation_ts, invoice_features)
new_payment_infos[key] = new_v