cryptonote_protocol: Set send_idle_time in connection_info correctly
This commit is contained in:
parent
ab594cfee9
commit
f1b76c8424
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ namespace cryptonote
|
||||||
cnx.recv_idle_time = timestamp - cntxt.m_last_recv;
|
cnx.recv_idle_time = timestamp - cntxt.m_last_recv;
|
||||||
|
|
||||||
cnx.send_count = cntxt.m_send_cnt;
|
cnx.send_count = cntxt.m_send_cnt;
|
||||||
cnx.send_idle_time = timestamp;
|
cnx.send_idle_time = timestamp - cntxt.m_last_send;
|
||||||
|
|
||||||
cnx.state = get_protocol_state_string(cntxt.m_state);
|
cnx.state = get_protocol_state_string(cntxt.m_state);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue