| 486 | } |
| 487 | |
| 488 | static 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 | |
| 500 | static void handle_missing_htlc_output(struct channel *channel, const u8 *msg) |
| 501 | { |
no test coverage detected