| 150 | return route->amount_deliver; |
| 151 | } |
| 152 | static 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 | } |
| 160 | static inline struct amount_msat route_fees(const struct route *route) |
| 161 | { |
| 162 | struct amount_msat fees; |
no test coverage detected