Skip to content

fix: return error responses for funding source without description_hash#140

Open
blackcoffeexbt wants to merge 1 commit into
mainfrom
feat/funding_source_no_description_hash_improve_ux
Open

fix: return error responses for funding source without description_hash#140
blackcoffeexbt wants to merge 1 commit into
mainfrom
feat/funding_source_no_description_hash_improve_ux

Conversation

@blackcoffeexbt

@blackcoffeexbt blackcoffeexbt commented Jul 2, 2026

Copy link
Copy Markdown

Added a clearer exception message when attempting to use LNURLp with a funding source that does not support description_hash (for example, Bark). Related to PR #4007. - lnbits/lnbits#4007

PRd Bark funding source support for this here @prusnak - prusnak/lnbits#1

…e that doesnt support description_hash e.g. Bark.
@blackcoffeexbt blackcoffeexbt force-pushed the feat/funding_source_no_description_hash_improve_ux branch from a89b25a to 3759ee3 Compare July 2, 2026 10:34
@dni dni changed the title Better messages for funding source without description_hash fix: return error responses for funding source without description_hash Jul 3, 2026
@dni dni self-requested a review July 3, 2026 12:35
Comment thread views_lnurl.py
funding_source = get_funding_source()
if (
funding_source.features is not None
and not funding_source.has_feature(Feature.descriptionhash)

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.

there is no feature for Feature.descriptionhash? am i missing something?

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.

2 participants