bitcoin-connect
bitcoin-connect copied to clipboard
Change bc-payment component to accept preimage instead of paid boolean
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.