]> git.bitcoin.ninja Git - rust-lightning/commit
Make `max_total_cltv_expiry_delta` include the final CLTV 2022-03-max-cltv
authorMatt Corallo <git@bluematt.me>
Wed, 9 Mar 2022 23:04:15 +0000 (23:04 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 16 Mar 2022 22:10:46 +0000 (22:10 +0000)
commitbb4413cc657532315145a22d2901238508be40e6
tree0f8f57329c59d8000fed6fc6afbad26529170ac4
parentfef8acf70c3b27927e0c51b7a36e78be6d76bb11
Make `max_total_cltv_expiry_delta` include the final CLTV

This fixes an integer underflow found by the `router` fuzz target
in CI.
lightning/src/ln/functional_tests.rs
lightning/src/routing/router.rs