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

Function test_write

tests/fuzz/fuzz-init_received.c:62–67  ·  view source on GitHub ↗

These functions are only called when `peer_init_received()` * enounters an error or an unknown message. Simply return * when that happens. */

Source from the content-addressed store, hash-verified

60 * when that happens.
61 */
62static struct io_plan *
63test_write(struct io_conn *conn, const void *data, size_t len,
64 struct io_plan *(*next)(struct io_conn *, void *), void *arg)
65{
66 return io_close(conn);
67}
68
69static struct io_plan *
70test_read(struct io_conn *conn, void *data, size_t len,

Callers

nothing calls this directly

Calls 1

io_closeFunction · 0.85

Tested by

no test coverage detected