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

Class sha256

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

Source from the content-addressed store, hash-verified

131{
132 struct preimage modified;
133 struct sha256 secret;
134
135 modified = *payment_preimage;
136 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