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
Wire PaymentMetadataStore into Builder, Node, Bolt11Payment, and EventHandler
Add `read_payment_metadata` to the startup `tokio::join!` call in the
builder to load persisted metadata entries. Construct an
`Arc<PaymentMetadataStore>` and thread it through to `Node`,
`Bolt11Payment` (along with `KeysManager`), and `EventHandler`.
Update `Node::remove_payment` to also call
`payment_metadata_store.remove_payment_id` so the reverse index stays
consistent when payment store entries are removed.
Generated with the assistance of AI tools.
Co-Authored-By: HAL 9000
0 commit comments