fusion44 / blitz_api

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

"parsing "rt500": invalid syntax" when using a regtest invoice on mainnet #225

Open cstenglein opened 1 year ago

cstenglein commented 1 year ago

When creating a LN invoice for regtest and pasing it into my mainnet node, I get the following error:

An error occurred: strconv.ParseUint: parsing "rt500": invalid syntax

In my opinion, It should return a more meaningful error message.

lnbcrt500u1pjvvylypp5gnc8m8ugs6zhnkf2s9zua00f6aduak9splsejy6dxln6gnc5lnyqdq62pshjmt9de6zqar0yp3kzun0dssp546rdfrvpq5c6g9n7eqymku2mgzzv37pz8ptepcanstdh0ezcx46qmqz9gxqrrsscqp79q2sqqqqqysgq3348htf44wtxpgkye9nss8f7ce9v5jl3p7wxw46xc47v5fx7j7mpyxrg02fxmrfj5ysnytxwe3750yz8vlhyaqug3xphsrm42t0rn7qqvus44r