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

lndconnect prints unneeded config warning #25

Open
erikarvstedt opened this issue May 1, 2022 · 0 comments
Open

lndconnect prints unneeded config warning #25

erikarvstedt opened this issue May 1, 2022 · 0 comments

Comments

@erikarvstedt
Copy link

When directly providing the cert and macaroon paths for generating a URL, lndconnect correctly generates the URL, but prints an unneeded config warning: open /root/.lnd/lnd.conf: no such file or directory.

Reproduce

lndconnect --host=myhost --port=8080 --tlscertpath=/path/to/cert --adminmacaroonpath=/path/to/macaroon --url

Output:

open /root/.lnd/lnd.conf: no such file or directory
lndconnect://foo:8080?cert=...

Workaround

Add --configfile=/dev/null to the command:

lndconnect --host=myhost --port=8080 --tlscertpath=/path/to/cert --adminmacaroonpath=/path/to/macaroon --configfile=/dev/null --url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant