瀏覽代碼

node/service: Silence clippy warning.

parazyd 4 年之前
父節點
當前提交
52355333b3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {