shesek / spark-wallet

⚡️ A minimalistic wallet GUI for c-lightning, accessible over the web or through mobile and desktop apps.
MIT License
341 stars 75 forks source link

Feature request: add a description to the reusable offer if Description in Receive payment isn't empty #208

Closed hMsats closed 1 year ago

hMsats commented 1 year ago

In order to be able to generate distinct reusable offers, add the Description (optional) in Receive payment as the description when generating the bolt12 offer (in client/src/views/recv.js). Now ⚡is always used which results in the same bolt12 offer being generated all the time. Keep the ⚡ when Description is empty.

hMsats commented 1 year ago

Oh this already works correctly. Nice!