code: func (b *blocksProviderImpl) UpdateOrderingEndpoints(endpoints []string) {
  	if !b.isEndpointsUpdated(endpoints) {
  		// No new endpoints for ordering service were provided
  		return
  	}
  	// We have got new set of endpoints, updating client
  	logger.Debug("Updating endpoint, to %s", endpoints)
  	b.client.UpdateEndpoints(endpoints)
  	logger.Debug("Disconnecting so endpoints update will take effect")
  	// We need to disconnect the client to make it reconnect back
  	// to newly updated endpoints
  	b.client.Disconnect(false)
  }
docs: // UpdateOrderingEndpoints update endpoints of ordering service