]> git.bitcoin.ninja Git - rust-lightning/commit
[router] Use the invoice value for last-hop hint channel capacity 2021-07-route-lasthop-value
authorMatt Corallo <git@bluematt.me>
Mon, 5 Jul 2021 18:10:34 +0000 (18:10 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 5 Jul 2021 18:21:20 +0000 (18:21 +0000)
commit9169dfbe5bb2e43b1ec14ca4020c9e3e5c049062
tree50b6db9869b96882fb6bc359a3dcc1ebe4d94e26
parent84967faf52b992206176e58020dfed80b1093c35
[router] Use the invoice value for last-hop hint channel capacity

If an invoice contains route hints, we should assume the channel
capacity is sufficient to route the invoice's value.
lightning/src/routing/router.rs