code: func (c *Consenter) TargetChannel(message proto.Message) string {
  	switch req := message.(type) {
  	case *orderer.ConsensusRequest:
  		return req.Channel
  	case *orderer.SubmitRequest:
  		return req.Channel
  	default:
  		return ""
  	}
  }
docs: // TargetChannel extracts the channel from the given proto.Message.
  // Returns an empty string on failure.