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

lncli: check for existence of tls file #5416

Merged

Conversation

ErikEk
Copy link
Contributor

@ErikEk ErikEk commented Jun 21, 2021

Fixes #5109.
Instead of checking the existence of the tls file, from global options, we are looking at the string itself. If the file is missing it will return the error message:
[lncli] could not load global options: could not load TLS cert file: open .lnd/missing_tls.cert: no such file or directory
If the tls cert path string is empty we proceed like before.

Copy link
Collaborator

@guggero guggero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, LGTM 🎉

@wpaulino wpaulino added this to the 0.13.1 milestone Jun 25, 2021
@Roasbeef Roasbeef merged commit 1910e26 into lightningnetwork:master Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

check for existence of file for tls
5 participants