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

buildroute use lnd default #8387

Merged

Conversation

ziggie1984
Copy link
Collaborator

@ziggie1984 ziggie1984 commented Jan 16, 2024

Fixes #8380.

Now the lncli does not provide a default value but we check on the lnd side and if its not provided we use the lnd default.

Moreover improves the docs.

@ziggie1984 ziggie1984 force-pushed the buildroute-use-lnd-default branch from bd457f6 to 12ee38a Compare January 16, 2024 10:55
@ziggie1984 ziggie1984 marked this pull request as ready for review January 16, 2024 10:55
Copy link
Collaborator

@guggero guggero left a comment

Choose a reason for hiding this comment

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

Great improvement, thanks for the PR!

This commit uses the default timelock delta (cltv delta) when
no value is provided for the buildroute rpc cmd.
Moreover it enhances the docs.
@ziggie1984 ziggie1984 force-pushed the buildroute-use-lnd-default branch from 12ee38a to 1880343 Compare January 16, 2024 13:08
Now the default of the lnd backend is used instead of providing
the default value via the caller of the buildroute rpc cmd.
@ziggie1984 ziggie1984 force-pushed the buildroute-use-lnd-default branch from 1880343 to 2db5752 Compare January 16, 2024 13:10
@ziggie1984 ziggie1984 requested a review from guggero January 16, 2024 13:12
Copy link
Collaborator

@guggero guggero left a comment

Choose a reason for hiding this comment

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

Nice, LGTM 🎉

@guggero guggero requested a review from yyforyongyu January 16, 2024 15:04
Copy link
Member

@yyforyongyu yyforyongyu left a comment

Choose a reason for hiding this comment

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

Thanks for the PR ⛵

@yyforyongyu yyforyongyu merged commit 54329a3 into lightningnetwork:master Jan 18, 2024
24 of 25 checks passed
@saubyk saubyk added this to the v0.18.0 milestone Jan 18, 2024
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.

[bug]: lncli INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS
4 participants