Skip to content

LNURL-withdraw where minWithdrawable == maxWithdrawable issue when trying to read via QRCode String #418

@piotr-iohk

Description

@piotr-iohk

Related e2e test: @lnurl_1.

Having lnurl-withdraw as follows:

[0-0] withdrawRequest2 {
[0-0]   encoded: 'lnurl1dp68gup69uhkcmmrv9kxsmmnwsarxvpsxqcj7mrww4exc0m385mxvwp58psnqwfsv5mxvef4v43rjvtrxyurycenxgmnjwp4xajrgvm9x4skzep3vvenydp4v4skxet9v3nxve3sv43ngepcvf3rwdt9gj22ru',
[0-0]   secret: '6f848a090e6fe5eb91c182c3279857d43e5aad1c3245eaceedfff0ec4d8bb75e',
[0-0]   url: 'http://localhost:30001/lnurl?q=6f848a090e6fe5eb91c182c3279857d43e5aad1c3245eaceedfff0ec4d8bb75e'
[0-0] }

where url returns:

{
  "callback": "http://localhost:30001/lnurl",
  "k1": "6f848a090e6fe5eb91c182c3279857d43e5aad1c3245eaceedfff0ec4d8bb75e",
  "tag": "withdrawRequest",
  "defaultDescription": "lnurl-withdraw2",
  "minWithdrawable": 303000,
  "maxWithdrawable": 303000
}

so minWithdrawable = maxWithdrawable.

The issue is that when one pastes the lnurl as a "QRCode String" and confirms then nothing happens.
But if one pastes/types lnurl manually then it correctly advances to withdraw screen.

See video:

lnurl-withdraw.webm

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions