Skip to content
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

Check PaymentError field in lnd's SendPaymentSync response for errors #188

Open
kiwiidb opened this issue Jun 9, 2022 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@kiwiidb
Copy link
Contributor

kiwiidb commented Jun 9, 2022

Only for integration tests:

Apparently it's possible for SendPaymentSync to return a nil error while the payment failed. In this case, PaymentError field of the response was timeout. So we should also check this field and handle the failed payment if there is an error here.

@kiwiidb kiwiidb added the bug Something isn't working label Jun 9, 2022
@kiwiidb kiwiidb self-assigned this Jun 9, 2022
@kiwiidb kiwiidb added this to 🐝 Alby Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant