Correct `outbound_payment` route-fetch calls to pass the hash + ID 2023-02-0.0.114-java-bindings
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:26:11 +0000 (19:26 +0000)
commit45aa845cf1053dd206b4b569d14fd4ac40f77a0b
treea83e095a649983df36e02e9e2f9a054e38c7a433
parentfb495cd6fd547b2834af55fcb545a86ebeaf2f92
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