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

Function handle_error_channel

lightningd/channel_control.c:440–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438}
439
440static void handle_error_channel(struct channel *channel,
441 const u8 *msg)
442{
443 if (!fromwire_channeld_send_error_reply(msg)) {
444 channel_internal_error(channel, "bad send_error_reply: %s",
445 tal_hex(tmpctx, msg));
446 return;
447 }
448
449 forget(channel);
450}
451
452static void handle_local_private_channel(struct channel *channel, const u8 *msg)
453{

Callers 1

channel_msgFunction · 0.85

Calls 3

tal_hexFunction · 0.85
forgetFunction · 0.85
channel_internal_errorFunction · 0.70

Tested by

no test coverage detected