ACINQ / phoenixd

https://phoenix.acinq.co/server
Apache License 2.0
113 stars 14 forks source link

Bolt11 invoices are unpayable #97

Closed dekdynamics closed 2 months ago

dekdynamics commented 2 months ago

Hi Team,

It seems that phoenixd is generating unpayable invoices. I have tried with WalletOfSatoshi, which scans the QR and then does nothing, and Aqua, which says "unsupported invoice".

My process is the same:

curl -X POST http://localhost:9740/createinvoice \
     -u :<key> \
     -d description='my first invoice'\
     -d amountSat=1000

Output:

{
    "amountSat": 1000,
    "paymentHash": "326dc4d3b9fbbe531bb4b960734bcec42f358e4e3bbb8945a86b2235b6e67e51",
    "serialized": "lnbc10u1pntmazwpp5xfkuf5aelwl9xxa5h9s8xj7wcshntrjw8wacj3dgdv3rtdhx0egscqpjsp55j7apnxfe54p7ueaczrnuxs5ah09mun53yp3kg2apnflwa9qkx7q9q7sqqqqqqqqqqqqqqqqqqqsqqqqqysgqdq6d4ujqenfwfehggrfdemx76trv5mqz9grzjqwryaup9lh50kkranzgcdnn2fgvx390wgj5jd07rwr3vxeje0glcllakyrs9wzw52uqqqqlgqqqqqeqqjqee98a7huzqtkh82ldd60ve5623tlf7h52uth0amdfazysx5ru98rn2wxaqc4tnq8m64fzkgtwelsw6p0xcvejxe9xzf3gkuntw4y6jspmvkjpl"

This is using:

        "chain": "mainnet",
        "blockHeight": 856890,
        "version": "0.3.2-97025b7"
pm47 commented 2 months ago

Cannot reproduce, with either Aqua or WoS.