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
types: convert non-uniffi PaidBolt12Invoice to enum
This patch updates the non-uniffi version of PaidBolt12Invoice to use
the same enum structure as the uniffi version, ensuring consistency
across the codebase.
Problem:
The non-uniffi implementation still used the old struct-based approach
with a kind field and optional invoice fields, while the uniffi version
was updated to use a proper enum. This inconsistency would cause
confusion and potential bugs.
Solution:
Update the non-uniffi PaidBolt12Invoice to be a proper enum with
Bolt12Invoice and StaticInvoice variants, matching the uniffi version.
Also update the doc comment in event.rs to reference the new enum
variant path.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments