shesek/spark-wallet

Generating BOLT12 offers no longer working for Core Lightning v22.11 (SOLVED)

hMsats opened this issue · 2 comments

Creating a bolt12 in spark-wallet is no longer working for the latest core lightning release.

IS SPARK-WALLET STILL BEING MAINTAINED???

would be cool, if this worked again.

I couldn't find the error and looked at it with my (genius) son. The breaking change in Core Lightning is here. The variable bolt12_unsigned was removed while spark-wallet still expects it. So we have to change bolt12_unsigned into just bolt12. This needs to be done in client/src/views/util.js and client/src/views/offers.js. Created a pull request. @ulrichard hope this solves it for you as well!