bitcoin-connect icon indicating copy to clipboard operation
bitcoin-connect copied to clipboard

Change bc-payment component to accept preimage instead of paid boolean

Open rolznz opened this issue 1 year ago • 0 comments

bc:onpaid is currently fired in multiple places.

This can be fixed if we pass the preimage to bc-send-payment instead of a paid boolean - then the bc-send-payment component can listen and fire the event for both WebLN and external payments.

rolznz avatar Dec 20 '23 07:12 rolznz