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

Missing paramter in findroutebetweennodes #2617

Open
DerEwige opened this issue Mar 24, 2023 · 0 comments
Open

Missing paramter in findroutebetweennodes #2617

DerEwige opened this issue Mar 24, 2023 · 0 comments

Comments

@DerEwige
Copy link
Contributor

https://github.com/ACINQ/eclair/blob/master/docs/CircularRebalancing.md

When following this guid to build rebalancing routes one can end up with invalid routes.
The reason for this is max-cltv. findroutebetweennodes can use all of the global max-cltv. When you add the extra hop your route may exceed global max-cltv and sending a payment to this roue will lead to an error:

FailureSummary(Local,expiry too big: maximum=CltvExpiry(783293) actual=CltvExpiry(783334) blockHeight=782285,List(.....

eclair version=0.8.0 commit=0077471

This could be fixed adding a new max-cltv parameter to findroutebetweennodes.

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

No branches or pull requests

1 participant