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

Function dev_peer_write_postclose

connectd/peer_exchange_initmsg.c:191–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191static struct io_plan *dev_peer_write_postclose(struct io_conn *conn,
192 struct early_peer *peer)
193{
194 dev_sabotage_fd(io_conn_fd(conn), true);
195 return read_init(conn, peer);
196}
197
198static struct io_plan *dev_peer_write_post_sabotage(struct io_conn *conn,
199 struct early_peer *peer)

Callers

nothing calls this directly

Calls 3

dev_sabotage_fdFunction · 0.85
io_conn_fdFunction · 0.85
read_initFunction · 0.85

Tested by

no test coverage detected