From 21eee5c169f9035e141f3daacdfc539b02844ff9 Mon Sep 17 00:00:00 2001 From: Arya Date: Fri, 12 Jul 2024 00:59:54 -0400 Subject: [PATCH] fixes compilation issue --- zebrad/src/commands/start.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebrad/src/commands/start.rs b/zebrad/src/commands/start.rs index 0a37922d3dc..887f1cc0242 100644 --- a/zebrad/src/commands/start.rs +++ b/zebrad/src/commands/start.rs @@ -274,7 +274,7 @@ impl StartCmd { #[cfg(not(feature = "indexer-rpcs"))] // Spawn a dummy indexer rpc task which doesn't do anything and never finishes. - let indexer_rpc_task_handle: tokio::task::JoinHandle> = + let indexer_rpc_task_handle: tokio::task::JoinHandle> = tokio::spawn(std::future::pending().in_current_span()); // Start concurrent tasks which don't add load to other tasks