ACINQ / phoenix

Phoenix is a self-custodial Bitcoin wallet using Lightning to send/receive payments.
https://phoenix.acinq.co
Apache License 2.0
656 stars 97 forks source link

LNURL withdraw not possible with btc as display unit #463

Closed danielbroll closed 11 months ago

danielbroll commented 11 months ago

Hey there,

We are providing LNURL withdraw to our customers to claim their sats that they bought with Pocket.

In the latest version (2.0.6) of the Phoenix iOS app we experience issues with a specific amount in combination with btc as the display unit.

{ "tag": "withdrawRequest", "callback": "...", "k1": "none", "defaultDescription": "Pocket 💜", "minWithdrawable": 60387000, "maxWithdrawable": 60387000 }

image

Switching the bitcoin unit to sats (settings -> display -> bitcoin unit) solves the error and the user is able to withdraw to their wallet.

danielbroll commented 11 months ago

Thanks!