You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add an Option<OfferId> field to Bolt12Invoice to
track the originating offer.
- Compute the offer_id for invoices created from
offers by extracting the offer TLV records and
hashing them with the correct tag.
- Expose a public offer_id() accessor on invoice.
- Add tests to ensure the offer_id in the invoice
matches the originating Offer, and that refund
invoices have no offer_id.
- All existing and new tests pass. This enables
linking invoices to their originating offers
in a robust and spec-compliant way.
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Signed-off-by: Vincenzo Palazzo <[email protected]>
0 commit comments