diff --git a/x/sync/network_client.go b/x/sync/network_client.go index 7496d1317516..f53ce461df52 100644 --- a/x/sync/network_client.go +++ b/x/sync/network_client.go @@ -186,11 +186,6 @@ func (c *networkClient) RequestAny( // If the limit on active requests is reached, this function blocks until // a slot becomes available. func (c *networkClient) Request(ctx context.Context, nodeID ids.NodeID, request []byte) ([]byte, error) { - // TODO danlaine: is it possible for this condition to occur? - if nodeID == ids.EmptyNodeID { - return nil, fmt.Errorf("cannot send request to empty nodeID, nodeID=%s, requestLen=%d", nodeID, len(request)) - } - // Take a slot from total [activeRequests] and block until a slot becomes available. if err := c.activeRequests.Acquire(ctx, 1); err != nil { return nil, ErrAcquiringSemaphore