From 766c718a6b727de966b424a5e90c78914ec5ffea Mon Sep 17 00:00:00 2001 From: Lukasz Rzasik Date: Thu, 12 Dec 2024 15:12:33 +0100 Subject: [PATCH] Fix compiler error --- crates/task-impls/src/network.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/task-impls/src/network.rs b/crates/task-impls/src/network.rs index ca39c71b80..3e770c2458 100644 --- a/crates/task-impls/src/network.rs +++ b/crates/task-impls/src/network.rs @@ -678,8 +678,7 @@ impl< let epoch = self.epoch.u64(); let mem = self.membership.clone(); spawn(async move { - net.update_view::(keep_view, epoch, &mem) - .await; + net.update_view::(*keep_view, epoch, &mem).await; }); None }