Skip to content

Conversation

@guggero
Copy link
Contributor

@guggero guggero commented Jun 1, 2022

Pull Request Checklist

Fixes a problem found with the mocking library we use in Pool. And we also add back the EstimateFeeToP2WSH convenience method, since that's still used in some projects.

  • 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.

guggero added 2 commits June 1, 2022 16:03
We still require the helper function EstimateFeeToP2WSH in Pool. Rather
than to add a new wrapper to each project that still relies on the old
method, we add the backward compatible wrapper to the client directly.
We use go mocks in Pool. Apparently that tool has trouble parsing
imported packages in the length part of an array. Since fixing the tool
isn't trivial, it's easier to hard code the value here (since the length
isn't expected to ever change).
@guggero guggero requested a review from bhandras June 1, 2022 14:10
@guggero guggero merged commit c0f5222 into lnd-15-0 Jun 1, 2022
@guggero guggero deleted the pool-fixes branch June 1, 2022 14:15
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