-
Notifications
You must be signed in to change notification settings - Fork 43
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
fix: checking for invoice support on lnd clients while verifying connection #1914
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on my obscure issue 😊
I left some comments. And one more thing I noticed is that you call it invoice support
which is technically not true and might be confusing for end users. I would very much prefer calling it hold invoice support
because normal invoices are always supported by LND and hold invoice support is optional and has to be enabled via a flag when building LND.
Edit: writing integration tests for this would probably be really hard but I would very much appreciate some unit tests for the added logic.
…ection Signed-off-by: rsercano <[email protected]>
2a8d9f6
to
4c26aff
Compare
My pleasure :) I fixed the review points @michael1011, will take a look at tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
@michael1011 good to merge from your side? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor nit but the rest looks awesome!
…x/checking-invoices-support-lnd
da64aab
to
532a332
Compare
Fixed @michael1011 thanks for checking! |
Attempts to resolve #1875
A result of getinfo where I simulated no invoice support by sending wrong rHash: @kilrau