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

Function handle_extracted_preimage

lightningd/onchain_control.c:488–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488static void handle_extracted_preimage(struct channel *channel, const u8 *msg)
489{
490 struct preimage preimage;
491
492 if (!fromwire_onchaind_extracted_preimage(msg, &preimage)) {
493 channel_internal_error(channel, "Invalid extracted_preimage");
494 return;
495 }
496
497 onchain_fulfilled_htlc(channel, &preimage);
498}
499
500static void handle_missing_htlc_output(struct channel *channel, const u8 *msg)
501{

Callers 1

onchain_msgFunction · 0.85

Calls 2

onchain_fulfilled_htlcFunction · 0.85
channel_internal_errorFunction · 0.70

Tested by

no test coverage detected