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

Class sha256

lightningd/invoice.c:142–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140{
141 struct preimage modified;
142 struct sha256 secret;
143
144 modified = *payment_preimage;
145 modified.r[0] ^= 1;

Callers 3

invoice_secretFunction · 0.70
json_invoiceFunction · 0.70
json_createinvoiceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected