connectd: at disconnected, tell lightningd how long we were connected.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -182,6 +182,7 @@ static struct io_plan *handshake_success(struct io_conn *conn,
|
||||
struct crypto_state *cs,
|
||||
struct oneshot *timer,
|
||||
enum is_websocket is_websocket,
|
||||
struct timemono starttime,
|
||||
char **args)
|
||||
{
|
||||
int peer_fd = io_conn_fd(conn);
|
||||
|
||||
Reference in New Issue
Block a user