diff --git a/sync/src/chain.rs b/sync/src/chain.rs index 3df478f9f..25f1eb6a3 100644 --- a/sync/src/chain.rs +++ b/sync/src/chain.rs @@ -460,7 +460,7 @@ impl ChainSync { trace!(target: "sync", "{} Deactivated for invalid headers response", peer_id); self.deactivate_peer(io, peer_id); } - if headers.is_empty() && self.state == SyncState::ChainHead { + if headers.is_empty() { // Peer does not have any new subchain heads, deactivate it nd try with another trace!(target: "sync", "{} Deactivated for no data", peer_id); self.deactivate_peer(io, peer_id);