Skip to content

Initate spark payments from background#48

Merged
benthecarman merged 1 commit intomasterfrom
spark-preimage
Mar 3, 2026
Merged

Initate spark payments from background#48
benthecarman merged 1 commit intomasterfrom
spark-preimage

Conversation

@benthecarman
Copy link
Collaborator

Previously payments could block and we would end up waiting for the payment to complete before ever returning. This could cause our payment metadata to get screwed up as we weren't able to mark it as a trusted/rebalance payment immedaitely. Now we generate the id ourselves and init the payment in the background so we do not block on this and an safely set our payment metadata.

Previously payments could block and we would end up waiting for the
payment to complete before ever returning. This could cause our payment
metadata to get screwed up as we weren't able to mark it as a
trusted/rebalance payment immedaitely. Now we generate the id ourselves
and init the payment in the background so we do not block on this and an
safely set our payment metadata.
@benthecarman benthecarman merged commit c7bfdad into master Mar 3, 2026
1 check passed
@benthecarman benthecarman deleted the spark-preimage branch March 3, 2026 21:07
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.

1 participant