diff --git a/mixnode/src/node/presence.rs b/mixnode/src/node/presence.rs index bdcdc3ad70..56feae14ee 100644 --- a/mixnode/src/node/presence.rs +++ b/mixnode/src/node/presence.rs @@ -67,7 +67,7 @@ impl Notifier { pub async fn run(self) { loop { self.notify(); - tokio::delay_for(self.sending_delay).await; + tokio::time::delay_for(self.sending_delay).await; } } }