ACINQ / phoenix

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

Cannot pay LNURL pay with Phoenix IOS #217

Closed johnongit closed 2 years ago

johnongit commented 2 years ago

it seems Phoenix iOS cannot pay an LNURL pay created by lnbits web app. Phoenix Android (and other wallet) can pay it.

We can reproduce the bug with the following LNURL p. https://lnbits.openchain.fr/lnurlp/44

Phoenix returns "Invalid response"

image

robbiehanson commented 2 years ago

Confirmed bug. Response from lnbits is:

{"pr":"lnbc1...","routes":[],"successAction":null}

An exception was thrown because the code expects successAction to be a JsonObject, and not JsonNull. Fix incoming...

robbiehanson commented 2 years ago

Thanks for reporting this bug. It should be fixed in the next release: v1.2.1