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

Class sha256

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

Source from the content-addressed store, hash-verified

208 /* Inside a blinded path, override return */
209 if (blind_error_return(hin)) {
210 struct sha256 sha;
211 sha256(&sha, hin->onion_routing_packet,
212 sizeof(hin->onion_routing_packet));
213 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