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

Function handle_error_channel

lightningd/channel_control.c:1432–1442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1430}
1431
1432static void handle_error_channel(struct channel *channel,
1433 const u8 *msg)
1434{
1435 if (!fromwire_channeld_send_error_reply(msg)) {
1436 channel_internal_error(channel, "bad send_error_reply: %s",
1437 tal_hex(tmpctx, msg));
1438 return;
1439 }
1440
1441 forget(channel);
1442}
1443
1444static void forget_channel(struct channel *channel, const char *why)
1445{

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