]> git.bitcoin.ninja Git - rust-lightning/commit
Allow routefinding again due to HTLC limit based on >= not >
authorMatt Corallo <git@bluematt.me>
Thu, 28 Sep 2023 18:19:50 +0000 (18:19 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 28 Sep 2023 20:39:36 +0000 (20:39 +0000)
commit5861dde6923f0dbbd9145efe2747be3c13e60b92
treefd9af7d44424f5688c718a8a117e22288f4390d6
parent082a19b2d4f859ed8377ade2c42db6287901b8f4
Allow routefinding again due to HTLC limit based on >= not >

While this doesn't matter much in practice, if we go around again
when route-finding to try to meet an htlc_minimum_msat, we use the
`recommended_value_msat` which can work if we meet the
`htlc_minimum_msat` on a channel exactly, so using >= rather than >
can capture cases with 1msat more.
lightning/src/routing/router.rs