]> git.bitcoin.ninja Git - rust-lightning/commit
Remove redundant final_cltv_delta param from get_route
authorValentine Wallace <vwallace@protonmail.com>
Thu, 27 Apr 2023 20:49:02 +0000 (16:49 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 27 Apr 2023 21:09:19 +0000 (17:09 -0400)
commitcae41c17ee389869cc4fe3306b47008857a530f9
treec51c03b4ae36a6dee4c1f8c4ae1f249833f8ea6b
parent4f806f56605e672fcfa8d87c03c036e32e0995b3
Remove redundant final_cltv_delta param from get_route

PaymentParameters already includes this value.

This set us up to better support route blinding, since there is no known
final_cltv_delta when paying to a blinded route.
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_route_tests.rs
lightning/src/ln/payment_tests.rs
lightning/src/ln/priv_short_conf_tests.rs
lightning/src/ln/shutdown_tests.rs
lightning/src/routing/router.rs