Procházet zdrojové kódy

node/service: Silence clippy warning.

parazyd před 4 roky
rodič
revize
52355333b3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/node/service/gateway_p2p.rs

+ 1 - 1
src/node/service/gateway_p2p.rs

@@ -43,7 +43,7 @@ impl Gateway {
         self.p2p.broadcast(msg).await
         self.p2p.broadcast(msg).await
     }
     }
 
 
-    async fn subscribe_loop(&self, executor: Arc<Executor<'_>>) -> Result<()> {
+    async fn _subscribe_loop(&self, executor: Arc<Executor<'_>>) -> Result<()> {
         let new_channel_sub = self.p2p.subscribe_channel().await;
         let new_channel_sub = self.p2p.subscribe_channel().await;
 
 
         loop {
         loop {