Horndev / zapread.com

Website for zapread.com
https://www.zapread.com
GNU Affero General Public License v3.0
18 stars 4 forks source link

[Major] 0 Satoshi invoices do not increase account balance. #567

Closed IntinteDAO closed 4 years ago

IntinteDAO commented 4 years ago

If you generate 0 satoshi (any value) on Zapread Invoice and pay for it, the transaction will officially take place, but you will not get these funds into your account. Probably the function checks if the transaction has been successful, but it does not check (for 0 satoshi) how many funds have been transferred.

Horndev commented 4 years ago

Yeah - I don't handle 0 satoshi invoices. A newer version of LND seems to allow them to be generated now. Older version threw an error when you tried it. I'll have to fix this ASAP!

I think the proper behaviour is to read the invoice and credit the amount paid.

Horndev commented 4 years ago

related to #113