Merge pull request #2200

f1b76c84 cryptonote_protocol: Set send_idle_time in connection_info correctly (rbrunner7)
This commit is contained in:
Riccardo Spagni 2017-08-07 15:08:49 +02:00
commit 58621e3f65
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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);