MCPcopy Create free account
hub / github.com/ElementsProject/lightning / route_sends

Function route_sends

plugins/renepay/route.h:152–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150 return route->amount_deliver;
151}
152static inline struct amount_msat route_sends(const struct route *route)
153{
154 assert(route);
155 if (route->hops && tal_count(route->hops) > 0)
156 assert(
157 amount_msat_eq(route->amount_sent, route->hops[0].amount));
158 return route->amount_sent;
159}
160static inline struct amount_msat route_fees(const struct route *route)
161{
162 struct amount_msat fees;

Callers 3

route_feesFunction · 0.85
route_pending_registerFunction · 0.85
payment_collect_resultsFunction · 0.85

Calls 1

amount_msat_eqFunction · 0.50

Tested by

no test coverage detected