| 470 | } |
| 471 | |
| 472 | static bool fromwire_route_info(const u8 **cursor, size_t *max, |
| 473 | struct route_info *route_info) |
| 474 | { |
| 475 | fromwire_node_id(cursor, max, &route_info->pubkey); |
| 476 | route_info->short_channel_id = fromwire_short_channel_id(cursor, max); |
| 477 | route_info->fee_base_msat = fromwire_u32(cursor, max); |
| 478 | route_info->fee_proportional_millionths = fromwire_u32(cursor, max); |
| 479 | route_info->cltv_expiry_delta = fromwire_u16(cursor, max); |
| 480 | return *cursor != NULL; |
| 481 | } |
| 482 | |
| 483 | static void towire_route_info(u8 **pptr, const struct route_info *route_info) |
| 484 | { |
no test coverage detected