Create space at end of local map, return offset it was added at. */
| 1033 | |
| 1034 | /* Create space at end of local map, return offset it was added at. */ |
| 1035 | static size_t insert_local_space(u8 **localspace, size_t msglen) |
| 1036 | { |
| 1037 | size_t oldlen = tal_bytelen(*localspace); |
| 1038 | |
| 1039 | tal_resize(localspace, oldlen + msglen); |
| 1040 | return oldlen; |
| 1041 | } |
| 1042 | |
| 1043 | static struct localmod *find_localmod(struct gossmap_localmods *localmods, |
| 1044 | struct short_channel_id scid) |
no test coverage detected