MCPcopy Create free account
hub / github.com/ElementsProject/lightning / extend_blinded_path

Function extend_blinded_path

common/onion_message.c:155–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155static 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
164struct onion_message *outgoing_onion_message(const tal_t *ctx,
165 const struct pubkey *ids,

Callers 1

outgoing_onion_messageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected