]> git.bitcoin.ninja Git - rust-lightning/commit
Correct `outbound_payment` route-fetch calls to pass the hash + ID
authorMatt Corallo <git@bluematt.me>
Thu, 9 Mar 2023 19:23:58 +0000 (19:23 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 9 Mar 2023 19:23:58 +0000 (19:23 +0000)
commit6d6d2005f8498c5a856c5474938571a7a9c1e4e6
treeb54e8d684c4865956e11b32822dc806ce40d3567
parent36834b3cef4ec65b73f7fff06941768f5d761b52
Correct `outbound_payment` route-fetch calls to pass the hash + ID

`Route::get_route_with_id` exists to provide users payment-specific
data when fetching a route, however we were failing to call it when
we have such info, opting for the simple `get_route` instead. This
defeats the purpose of the additional-metadata method, which we
swap to using here.
lightning/src/ln/outbound_payment.rs