| 463 | } |
| 464 | |
| 465 | static 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 | |
| 477 | static void handle_missing_htlc_output(struct channel *channel, const u8 *msg) |
| 478 | { |
no test coverage detected