Skip to content

lndconnect prints unneeded config warning #25

@erikarvstedt

Description

@erikarvstedt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions