aggstam 3 лет назад
Родитель
Сommit
e25b243676

+ 1 - 1
bin/darkfid/src/main.rs

@@ -501,7 +501,7 @@ async fn realmain(args: Args, ex: Arc<smol::Executor<'_>>) -> Result<()> {
                 }
             },
             Error::ProposalTaskStopped,
-            ex.clone(),
+            ex,
         );
         Some(task)
     } else {

+ 1 - 1
bin/darkfid2/src/main.rs

@@ -229,7 +229,7 @@ async fn realmain(args: Args, ex: Arc<smol::Executor<'_>>) -> Result<()> {
                 }
             },
             Error::P2PNetworkStopped,
-            ex.clone(),
+            ex,
         );
     } else {
         info!("Not starting consensus P2P network");

+ 1 - 1
bin/faucetd/src/main.rs

@@ -774,7 +774,7 @@ async fn realmain(args: Args, ex: Arc<smol::Executor<'_>>) -> Result<()> {
             }
         },
         Error::P2PNetworkStopped,
-        ex.clone(),
+        ex,
     );
 
     // TODO: I think this is not needed anymore

+ 1 - 1
bin/lilith/src/main.rs

@@ -482,7 +482,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'_>>) -> Result<()> {
             }
         },
         Error::RPCServerStopped,
-        ex.clone(),
+        ex,
     );
 
     // Signal handling for graceful termination.

+ 2 - 2
bin/tau/taud/src/main.rs

@@ -362,7 +362,7 @@ async fn realmain(settings: Args, executor: Arc<smol::Executor<'_>>) -> Result<(
 
     p2p.clone().start(executor.clone()).await?;
 
-    info!(target: "taud", "Starting sync P2P network");
+    info!(target: "taud", "Starting P2P network");
     p2p.clone().start(executor.clone()).await?;
     StoppableTask::new().start(
         p2p.clone().run(executor.clone()),
@@ -426,7 +426,7 @@ async fn realmain(settings: Args, executor: Arc<smol::Executor<'_>>) -> Result<(
             }
         },
         Error::RPCServerStopped,
-        executor.clone(),
+        executor,
     );
 
     // Signal handling for graceful termination.