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

status: apply functional options on subServer init #705

Conversation

ViktorTigerstrom
Copy link
Contributor

@ViktorTigerstrom ViktorTigerstrom commented Jan 15, 2024

In #694 we added support for initialising the subServer struct with functional options. Unfortunately though, with the last refactors in the PR I forgot to also apply the functional options in subServer constructor function. Sorry for that, this was totally my bad! The current resulting behaviour is that the litcli status won't function as expected for lnd, while lnd Subserver is in the WalletReady state (until it enters the Running state).

This PR addresses the issue, and applies the functional options in the subServer constructor.

@ViktorTigerstrom ViktorTigerstrom requested review from ellemouton and guggero and removed request for ellemouton January 15, 2024 19:29
Copy link
Member

@ellemouton ellemouton left a comment

Choose a reason for hiding this comment

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

LGTM!

@guggero guggero merged commit c03b040 into lightninglabs:master Jan 16, 2024
12 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants