| 422 | } |
| 423 | |
| 424 | static bool fromwire_route_info(const u8 **cursor, size_t *max, |
| 425 | struct route_info *route_info) |
| 426 | { |
| 427 | fromwire_node_id(cursor, max, &route_info->pubkey); |
| 428 | fromwire_short_channel_id(cursor, max, &route_info->short_channel_id); |
| 429 | route_info->fee_base_msat = fromwire_u32(cursor, max); |
| 430 | route_info->fee_proportional_millionths = fromwire_u32(cursor, max); |
| 431 | route_info->cltv_expiry_delta = fromwire_u16(cursor, max); |
| 432 | return *cursor != NULL; |
| 433 | } |
| 434 | |
| 435 | static void towire_route_info(u8 **pptr, const struct route_info *route_info) |
| 436 | { |
no test coverage detected