eclair
eclair copied to clipboard
Missing paramter in findroutebetweennodes
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.
Hello @DerEwige, I would like to work on this issue. Thank you!!