Skip to content

Fix: rejected valid callback responses#100

Merged
dni merged 4 commits into
lnbits:v1from
dsbaars:feature/fix-omitted-optional-properties
Mar 25, 2026
Merged

Fix: rejected valid callback responses#100
dni merged 4 commits into
lnbits:v1from
dsbaars:feature/fix-omitted-optional-properties

Conversation

@dsbaars

@dsbaars dsbaars commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Also added test.

Fixes #99

Comment thread lnurl/models.py Outdated
Comment thread tests/test_pay_action_response_lud06.py
Comment thread lnurl/models.py Outdated
@dni

dni commented Mar 9, 2026

Copy link
Copy Markdown
Member

hey, i am fine with the change if we can word the comments as of my suggestions.

@dni

dni commented Mar 9, 2026

Copy link
Copy Markdown
Member

and please run make afterwards :). thanks

dsbaars and others added 2 commits March 9, 2026 09:02
@dsbaars

dsbaars commented Mar 9, 2026

Copy link
Copy Markdown
Contributor Author

Accepted changes and ran make

@dni dni changed the base branch from main to v1 March 25, 2026 07:06
@dni dni changed the title Fix rejected valid callback responses Fix: rejected valid callback responses Mar 25, 2026

@dni dni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

approved, will port the commit to v2/main and keep it for v1 branch for backwards compatibility

@dni dni merged commit 5c9923d into lnbits:v1 Mar 25, 2026
7 checks passed
dni added a commit that referenced this pull request Mar 25, 2026
* fix: Fix rejected valid callback responses

* Apply suggestions from code review

Co-authored-by: dni ⚡ <office@dnilabs.com>

* fix: remove unused imports from lud06 test

* fixup!

---------

Co-authored-by: dni ⚡ <office@dnilabs.com>
dni added a commit that referenced this pull request Mar 25, 2026
* fix: Fix rejected valid callback responses
* Apply suggestions from code review
* fix: remove unused imports from lud06 test

---------

Co-authored-by: Djuri Baars <dsbaars@users.noreply.github.com>
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.

LnurlResponse.from_dict raises on valid LUD-06 pay callback when routes is omitted

2 participants