diff --git a/sn_node/src/node/data/records.rs b/sn_node/src/node/data/records.rs index 339e75052c..d5ae984e58 100644 --- a/sn_node/src/node/data/records.rs +++ b/sn_node/src/node/data/records.rs @@ -103,10 +103,6 @@ impl Node { if peers.len() > MAX_WAITING_PEERS_PER_QUERY { warn!("Dropping query from {source_client:?}, there are more than {MAX_WAITING_PEERS_PER_QUERY} waiting already"); return Ok(vec![]); - } else { - // we don't respond to the actual query, as we're still within data query timeout - // we rely on the data query cache timeout to decide as/when we'll be re-sending a query to adults - return Ok(cmds); } }