Skip to content

Conversation

@bhandras
Copy link
Member

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.

Copy link
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

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

LGTM 🐌


leases := make([]LeaseDescriptor, 0, len(resp.LockedUtxos))
for _, leasedUtxo := range resp.LockedUtxos {
txHash, err := chainhash.NewHash(
Copy link
Member

Choose a reason for hiding this comment

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

leasedUtxo := leasedUtxo?

or index based

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch, though I think this particular case is fine. Added your suggestion nevertheless.

@bhandras bhandras merged commit bee4e73 into lightninglabs:master Sep 14, 2023
@bhandras bhandras deleted the listleases branch September 14, 2023 18:20
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.

2 participants