| 153 | } |
| 154 | |
| 155 | static void extend_blinded_path(struct blinded_path *bpath, |
| 156 | const struct blinded_path_hop *hop) |
| 157 | { |
| 158 | struct blinded_path_hop *newhop = tal(bpath->path, struct blinded_path_hop); |
| 159 | newhop->blinded_node_id = hop->blinded_node_id; |
| 160 | newhop->encrypted_recipient_data = tal_dup_talarr(newhop, u8, hop->encrypted_recipient_data); |
| 161 | tal_arr_expand(&bpath->path, newhop); |
| 162 | } |
| 163 | |
| 164 | struct onion_message *outgoing_onion_message(const tal_t *ctx, |
| 165 | const struct pubkey *ids, |
no outgoing calls
no test coverage detected