-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unified_qr
: Consider continuing receive
flow on offer creation failure
#476
Comments
Hi @tnull, I'll like to work on this but I want to ensure I understand this correctly. By continuing the
Either way, do you think continuing the flow on offer/invoice creation failure won't affect the behaviour some wallets might expect from the
|
Hi! I meant the latter, i.e., continuing the flow. Essentially this issue is really here to remind me to think about it once more if we really should. The change itself should be ~only dropping the
Well, it would mostly result in a BIP21 that will only hold a BOLT11 invoice, and worst-case will be on-chain only. It's a bit weird to have that degradation on the receive side, which is why I'm not fully sure yet if we should or if it's preferable to explicitly tell the user that we weren't able to create the full thing. |
I agree. The degradation might not make sense, but if we eventually do that, then we should be communicating that so users are aware of it. |
Currently, we error out
UnifiedQrPayment::receive
if we fail to create an offer. However, this could happen if we don't have suitable channels for blinded path creation. While it's not entirely clear what behavior is preferable, we should at least consider just continuingreceive
so that the user can always fall back to the onchainbip21
part.The text was updated successfully, but these errors were encountered: