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

Class sha256

lightningd/peer_htlcs.c:174–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 /* Inside a blinded path, override return */
173 if (blind_error_return(hin)) {
174 struct sha256 sha;
175 sha256(&sha, hin->onion_routing_packet,
176 sizeof(hin->onion_routing_packet));
177 failonion = create_onionreply(tmpctx, hin->shared_secret,

Callers 6

mk_failed_htlcFunction · 0.70
mk_failed_htlc_badonionFunction · 0.70
peer_accepted_htlcFunction · 0.70
onchain_fulfilled_htlcFunction · 0.70
peer_failed_our_htlcFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected