diff --git a/src/statesync/completeterminal.cc b/src/statesync/completeterminal.cc index 4688b2a..d7b7d2b 100644 --- a/src/statesync/completeterminal.cc +++ b/src/statesync/completeterminal.cc @@ -142,7 +142,7 @@ bool Complete::set_echo_ack( uint64_t now ) for ( input_history_type::const_iterator i = input_history.begin(); i != input_history.end(); i++ ) { - if ( i->second < now - ECHO_TIMEOUT ) { + if ( i->second <= now - ECHO_TIMEOUT ) { newest_echo_ack = i->first; } }