mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
json_connection: keep pointer to the conn.
This is required for our next hack. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -50,6 +50,9 @@ struct json_connection {
|
||||
/* The global state */
|
||||
struct lightningd *ld;
|
||||
|
||||
/* This io_conn (and our owner!) */
|
||||
struct io_conn *conn;
|
||||
|
||||
/* Logging for this json connection. */
|
||||
struct log *log;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user