Skip to content

Conversation

@jjyr
Copy link
Collaborator

@jjyr jjyr commented Dec 24, 2025

In https://github.com/nervosnetwork/fiber/pull/963/files#diff-e63edc2d81641a42647674f45d8ed3a68509e768102d5ec69f685996bbe79651 we delete the deprecated invoice attribute FinalHtlcTimeout

We add it back in the molecule types in https://github.com/nervosnetwork/fiber/pull/970/files , however it is not enough, we also need to add it back in inner types.

This PR:

  1. fix deprecated invoice attribute FinalHtlcTimeout
  2. In InvoiceBuilder we deny the FinalHtlcTimeout , so this attribute only works for legacy invoices

@jjyr jjyr force-pushed the fix-invoice-attribute branch 2 times, most recently from 50b70ee to 273a1e7 Compare December 24, 2025 10:43
@jjyr jjyr force-pushed the fix-invoice-attribute branch from 273a1e7 to 6a1a477 Compare December 24, 2025 11:18
@chenyukang chenyukang merged commit 491fdd2 into nervosnetwork:develop Dec 25, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants