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

Function peer_after_send_their_peer_strg_err

plugins/chanbackup.c:457–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455}
456
457static struct command_result
458*peer_after_send_their_peer_strg_err(struct command *cmd,
459 const char *method,
460 const char *buf,
461 const jsmntok_t *params,
462 struct node_id *node_id)
463{
464 plugin_log(cmd->plugin, LOG_DBG, "Unable to send Peer storage!");
465 remove_peer(cmd->plugin, node_id);
466 return command_hook_success(cmd);
467}
468
469static struct command_result *send_peers_scb(struct command *cmd,
470 struct node_id *nodeid)

Callers

nothing calls this directly

Calls 3

remove_peerFunction · 0.85
plugin_logFunction · 0.70
command_hook_successFunction · 0.70

Tested by

no test coverage detected