code: func checkResources(res channelconfig.Resources) error {
  	channelconfig.LogSanityChecks(res)
  	oc, ok := res.OrdererConfig()
  	if !ok {
  		return errors.New("config does not contain orderer config")
  	}
  	if err := oc.Capabilities().Supported(); err != nil {
  		return errors.Wrapf(err, "config requires unsupported orderer capabilities: %s", err)
  	}
  	if err := res.ChannelConfig().Capabilities().Supported(); err != nil {
  		return errors.Wrapf(err, "config requires unsupported channel capabilities: %s", err)
  	}
  	return nil
  }
docs: // checkResources makes sure that the channel config is compatible with this binary and logs sanity checks