]> git.bitcoin.ninja Git - rust-lightning/commit
Fix panic when routing through multiple private last-hops
authorMatt Corallo <git@bluematt.me>
Thu, 10 Feb 2022 21:29:43 +0000 (21:29 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 28 Feb 2022 22:07:54 +0000 (22:07 +0000)
commit19ebc8081ae2783355a14c45c5cc2a6144fed2c1
treed5fa97c19925f3c127812d57392476fad23da6af
parentd29ae1826e1d3fe39f65474532f8788413ce8737
Fix panic when routing through multiple private last-hops

When we added support for routing through a multi-hop invoice hint
we failed to remove an assertion that we always are able to fill
in features for each hop except the last one. However, when a
multi-hop invoice hint is used, we will not have features for any
of the hinted hops, causing us to panic.
lightning/src/routing/router.rs