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

fix: switch duration on wrong amounts #7

Merged
merged 3 commits into from
Jan 21, 2025
Merged

fix: switch duration on wrong amounts #7

merged 3 commits into from
Jan 21, 2025

Conversation

dni
Copy link
Member

@dni dni commented Jan 21, 2025

so if you put more than the expected amount and through a bug of variable the duration of the payload was screwed up

@@ -95,7 +95,7 @@ async def lnurl_params(
)
async def lnurl_callback(
payment_id: str,
variable: str = Query(None),
variable: bool = Query(None),
Copy link
Member Author

Choose a reason for hiding this comment

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

this one was the main issue

@dni dni merged commit 82e65f0 into main Jan 21, 2025
16 checks passed
@dni dni deleted the bugfix-currency branch January 21, 2025 16:45
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.

3 participants