diff --git a/src/dht.cpp b/src/dht.cpp
index 6654d5a2490b991e36faf0ab131c21e261d03b21..2a2f7db6210a1e5b7ae9d803b6b43bf63d46d8e2 100644
--- a/src/dht.cpp
+++ b/src/dht.cpp
@@ -1251,7 +1251,7 @@ Dht::announce(const InfoHash& id, sa_family_t af, std::shared_ptr<Value> value,
             a_sr->callback = callback;
         }
     }
-    scheduler.edit(sr->nextSearchStep, sr->getNextStepTime(types, now));
+    scheduler.edit(sr->nextSearchStep, scheduler.time());
     //TODO
     //if (tm < search_time) {
     //    DHT_LOG.ERROR("[search %s IPv%c] search_time is now in %lfs", sr->id.toString().c_str(),l