Skip to content

basic_client: make latest change non-breaking #76

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

Merged
merged 1 commit into from
Oct 25, 2021
Merged

Conversation

guggero
Copy link
Member

@guggero guggero commented Oct 25, 2021

This PR is opened against the lnd-13-0 branch!
We fix a breaking change introduced in #51 by moving to functional options.

Pull Request Checklist

  • PR is opened against correct version branch.
  • Version compatibility matrix in the README and minimal required version
    in lnd_services.go are updated.
  • Update macaroon_recipes.go if your PR adds a new method that is called
    differently than the RPC method it invokes.

With this commit we revert the change in the basic client that made an
update to all users of lndclient mandatory. Instead we use the
extensibility concept put in place with the functional options.
@guggero guggero requested review from bhandras and carlaKC October 25, 2021 10:31
Copy link
Member

@bhandras bhandras left a comment

Choose a reason for hiding this comment

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

LGTM 🥑

Copy link
Contributor

@carlaKC carlaKC left a comment

Choose a reason for hiding this comment

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

LGTM!

❤️ functional options

@guggero guggero merged commit 0dc9f38 into lnd-13-0 Oct 25, 2021
@guggero guggero deleted the basic-client-fix branch October 25, 2021 13:06
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.

3 participants