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

Function multiplex_final_msg

connectd/multiplex.c:164–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164void multiplex_final_msg(struct peer *peer, const u8 *final_msg TAKES)
165{
166 inject_peer_msg(peer, final_msg);
167 drain_peer(peer);
168}
169
170/* Send warning, close connection to peer */
171static void send_warning(struct peer *peer, const char *fmt, ...)

Callers 2

send_warningFunction · 0.85
peer_final_msgFunction · 0.85

Calls 2

inject_peer_msgFunction · 0.85
drain_peerFunction · 0.85

Tested by

no test coverage detected