lnd/routing/route
Carla Kirk-Cohen 585f28c5f5
multi: explicitly signal final hop in pack hop payload
Previously, we'd use the value of nextChanID to infer whether a payload
was for the final hop in a route. This commit updates our packing logic
to explicitly signal to account for blinded routes, which allow zero
value nextChanID in intermediate hops. This is a preparatory commit
that allows us to more thoroughly validate payloads.
2023-12-18 11:27:52 -05:00
..
route_test.go multi: explicitly signal final hop in pack hop payload 2023-12-18 11:27:52 -05:00
route.go multi: explicitly signal final hop in pack hop payload 2023-12-18 11:27:52 -05:00