Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate invoice expiration #1061

Merged
merged 4 commits into from
Aug 6, 2024
Merged

Validate invoice expiration #1061

merged 4 commits into from
Aug 6, 2024

Conversation

roeierez
Copy link
Member

@roeierez roeierez commented Aug 5, 2024

Partially fixes #1057
Checking the balance is a bit tricky since the local cache might be outdated so we will have to query the node and if that's the case then it is better to leave it for the gl-plugin saving the round trip IMO.

Copy link
Contributor

@erdemyerebasmaz erdemyerebasmaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I have one readability suggestion.

libs/sdk-core/src/breez_services.rs Outdated Show resolved Hide resolved
@roeierez roeierez merged commit e4ea881 into main Aug 6, 2024
9 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.

sdk: Add pre-flight checks for payments
3 participants