Skip to content

LNBits fail to parse LnurlPayActionResponse in LNURL #197

Description

@akovalenko

While extending VM using 1536@api.lnvps.net, LNBits 1.5.5 is unable to pay LNURL, complaining about the extra field (hodl_invoice).

And indeed, when I curl https://api.lnvps.net/api/v1/vm/1536/renew-lnurlp?amount=4000000, I see

{
    "pr":"lnbc...",
    "hodl_invoince": null
}

I don't follow recent LNURL developments, but grepping hodl_invoice in https://github.com/lnurl/luds gives nothing, so I guess there is no such field in the spec. And if it turns out to be a useful extension, just omitting hodl_invoice when it's false would be the obvious choice for old wallet compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions