fusion44 / blitz_api

A management backend for the RaspiBlitz project written in Python / FastAPI
MIT License
18 stars 18 forks source link

CLN: Properly handle invoices and payments with an amount of 0 #234

Open fusion44 opened 8 months ago

fusion44 commented 8 months ago

The API throws an error when trying to decode a BOLT11 string with an amount of 0. CLN doesn't return the JSON field amount_msat in this case.

Details: https://github.com/raspiblitz/raspiblitz/issues/4298