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

Function new_onionreply

common/onionreply.c:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 6

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