Consider many first-hop paths to the same counterparty in routing
authorMatt Corallo <git@bluematt.me>
Wed, 29 Sep 2021 19:15:16 +0000 (19:15 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 29 Sep 2021 19:15:16 +0000 (19:15 +0000)
commit56c75f0bac02db2212f8ef5357befdd5425da55d
treedee5e4ba765b640641376ea844aeeda56c2e3c58
parent6edb4fe42ff70b6259021f84de76437d2e8dce9d
Consider many first-hop paths to the same counterparty in routing

Previously we'd simply overwritten "the" first hop path to each
counterparty when routing, however this results in us ignoring all
channels except the last one in the `ChannelDetails` list per
counterparty.
lightning/src/routing/router.rs