mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
connectd: do decryption for peers.
We temporarily hack to sync_crypto_write/sync_crypto_read functions to not do any crypto, and do it all in connectd. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -27,7 +27,7 @@ struct io_plan *io_read_wire_(struct io_conn *conn,
|
||||
|
||||
/* Write message from data (tal_count(data) gives length). data can be take() */
|
||||
struct io_plan *io_write_wire_(struct io_conn *conn,
|
||||
const u8 *data,
|
||||
const u8 *data TAKES,
|
||||
struct io_plan *(*next)(struct io_conn *, void *),
|
||||
void *next_arg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user