mirror of
https://github.com/monero-project/monero.git
synced 2025-12-23 07:29:11 -08:00
cryptonote_protocol: Set send_idle_time in connection_info correctly
This commit is contained in:
@@ -208,7 +208,7 @@ namespace cryptonote
|
||||
cnx.recv_idle_time = timestamp - cntxt.m_last_recv;
|
||||
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user