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

Function handle_extracted_preimage

lightningd/onchain_control.c:465–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463}
464
465static void handle_extracted_preimage(struct channel *channel, const u8 *msg)
466{
467 struct preimage preimage;
468
469 if (!fromwire_onchaind_extracted_preimage(msg, &preimage)) {
470 channel_internal_error(channel, "Invalid extracted_preimage");
471 return;
472 }
473
474 onchain_fulfilled_htlc(channel, &preimage);
475}
476
477static void handle_missing_htlc_output(struct channel *channel, const u8 *msg)
478{

Callers 1

onchain_msgFunction · 0.85

Calls 2

onchain_fulfilled_htlcFunction · 0.85
channel_internal_errorFunction · 0.70

Tested by

no test coverage detected