From c63b9c365bb57009dd216eb10a0bd06f9efce89b Mon Sep 17 00:00:00 2001 From: creativcoder Date: Thu, 1 Dec 2022 12:51:43 +0000 Subject: [PATCH] lint --- blockchain/chain_sync/src/chain_muxer.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blockchain/chain_sync/src/chain_muxer.rs b/blockchain/chain_sync/src/chain_muxer.rs index 6ccff1f8b41e..e213445ee024 100644 --- a/blockchain/chain_sync/src/chain_muxer.rs +++ b/blockchain/chain_sync/src/chain_muxer.rs @@ -23,7 +23,6 @@ use forest_libp2p::{ use forest_message::SignedMessage; use forest_message_pool::{MessagePool, Provider}; use forest_state_manager::StateManager; -use futures::StreamExt; use futures::{future::try_join_all, future::Future, try_join}; use fvm_ipld_blockstore::Blockstore; use fvm_shared::message::Message; @@ -833,7 +832,7 @@ where } Some(Ok(Err(e))) => { error!("Following the network failed unexpectedly: {}", e); - Err(e.into()) + Err(e) } // This arm is reliably unreachable because the JoinSet // has two futures and we only resolve one before returning