Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
37
struct 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_onionreply
Function · 0.70
test_htlc_crud
Function · 0.50
handle_peer_fail_htlc
Function · 0.50
htlc_accepted_hook_deserialize
Function · 0.50
Calls
no outgoing calls
Tested by
1
test_htlc_crud
Function · 0.40