func (cc *ConsortiumConfig) Commit() {
	cc.consortiumGroup.ConsortiumConfig = cc
}
Commit commits the ConsortiumConfig
package config
import (
	"fmt"
	"github.com/inklabsfoundation/inkchain/common/config/msp"
	cb "github.com/inklabsfoundation/inkchain/protos/common"
)
type ConsortiumProtos struct {
	ChannelCreationPolicy *cb.Policy
}
type ConsortiumGroup struct {
	*Proposer
	*ConsortiumConfig
	mspConfig *msp.MSPConfigHandler
}
func NewConsortiumGroup(mspConfig *msp.MSPConfigHandler) *ConsortiumGroup {
	cg := &ConsortiumGroup{
		mspConfig: mspConfig,
	}
	cg.Proposer = NewProposer(cg)
	return cg
}
func (cg *ConsortiumGroup) NewGroup(name string) (ValueProposer, error) {
	return NewOrganizationGroup(name, cg.mspConfig), nil
}
func (cg *ConsortiumGroup) Allocate() Values {
	return NewConsortiumConfig(cg)
}
func (cg *ConsortiumGroup) BeginValueProposals(tx interface{}, groups []string) (ValueDeserializer, []ValueProposer, error) {
	return cg.Proposer.BeginValueProposals(tx, groups)
}
func (cg *ConsortiumGroup) PreCommit(tx interface{}) error {
	return cg.Proposer.PreCommit(tx)
}
func (cg *ConsortiumGroup) RollbackProposals(tx interface{}) {
	cg.Proposer.RollbackProposals(tx)
}
func (cg *ConsortiumGroup) CommitProposals(tx interface{}) {
	cg.Proposer.CommitProposals(tx)
}
type ConsortiumConfig struct {
	*standardValues
	protos *ConsortiumProtos
	orgs   map[string]*OrganizationGroup
	consortiumGroup *ConsortiumGroup
}
func NewConsortiumConfig(cg *ConsortiumGroup) *ConsortiumConfig {
	cc := &ConsortiumConfig{
		protos:          &ConsortiumProtos{},
		orgs:            make(map[string]*OrganizationGroup),
		consortiumGroup: cg,
	}
	var err error
	cc.standardValues, err = NewStandardValues(cc.protos)
	if err != nil {
		logger.Panicf("Programming error: %s", err)
	}
	return cc
}
func (cc *ConsortiumConfig) Organizations() map[string]*OrganizationGroup {
	return cc.orgs
}
func (cc *ConsortiumConfig) ChannelCreationPolicy() *cb.Policy {
	return cc.protos.ChannelCreationPolicy
}