diff --git a/include/opendht/network_engine.h b/include/opendht/network_engine.h index 16a9637b5c10039aaeaf7ac89015dc1f5a1f8a17..d5afd2dde591393d3e1e10d76eab633511abfe50 100644 --- a/include/opendht/network_engine.h +++ b/include/opendht/network_engine.h @@ -210,11 +210,9 @@ public: and not completed; } - bool pending(time_point now) const { - return not cancelled - and not completed - and reply_time < last_try - and now - last_try <= Node::MAX_RESPONSE_TIME; + bool pending(time_point /*now*/) const { + return not cancelled + and not completed; } void cancel() {