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

refactor(swaps): change getRoutes to getRoute #1177

Merged
merged 1 commit into from
Sep 11, 2019
Merged

Conversation

sangaman
Copy link
Collaborator

This refactors the getRoutes call to getRoute to match the behavior of lnd which only returns a single route at most for the QueryRoutes call.

@sangaman sangaman added code quality Improving code structure, organization, and clarity lightning Lightning network & lnd integration labels Aug 23, 2019
@sangaman sangaman requested a review from a user August 23, 2019 17:25
@sangaman sangaman self-assigned this Aug 23, 2019
This refactors the `getRoutes` call to `getRoute` to match the behavior
of lnd which only returns a single route at most for the `QueryRoutes`
call.
@sangaman sangaman requested a review from a user August 26, 2019 17:06
@sangaman sangaman merged commit b7861b8 into master Sep 11, 2019
@sangaman sangaman deleted the refactor/getroute branch September 11, 2019 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Improving code structure, organization, and clarity lightning Lightning network & lnd integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants