spark-wallet icon indicating copy to clipboard operation
spark-wallet copied to clipboard

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

Open hMsats opened this issue 2 years ago • 2 comments

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

IS SPARK-WALLET STILL BEING MAINTAINED???

hMsats avatar Dec 02 '22 14:12 hMsats

would be cool, if this worked again.

ulrichard avatar Mar 06 '23 10:03 ulrichard

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!

hMsats avatar Apr 14 '23 19:04 hMsats