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

Function new_onionreply

common/onionreply.c:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37struct onionreply *new_onionreply(const tal_t *ctx, const u8 *contents TAKES)
38{
39 struct onionreply *r = tal(ctx, struct onionreply);
40 r->contents = tal_dup_talarr(r, u8, contents);
41 return r;
42}

Callers 4

unwrap_onionreplyFunction · 0.70
test_htlc_crudFunction · 0.50
handle_peer_fail_htlcFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_htlc_crudFunction · 0.40