Skip to content

Commit

Permalink
[FAB-17136] Fix the typo error (#318)
Browse files Browse the repository at this point in the history
* [FAB-17136] Fix the typo error

This is fix #FAB-17136

Signed-off-by: bjzhang <bjzhang1991@gmail.com>
  • Loading branch information
bjzhang03 authored and mastersingh24 committed Nov 27, 2019
1 parent 543e38c commit 7f30434
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion common/channelconfig/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (cc *ChannelConfig) ConsortiumsConfig() *ConsortiumsConfig {
return cc.consortiumsConfig
}

// HashingAlgorithm returns a function pointer to the chain hashing algorihtm
// HashingAlgorithm returns a function pointer to the chain hashing algorithm
func (cc *ChannelConfig) HashingAlgorithm() func(input []byte) []byte {
return cc.hashingAlgorithm
}
Expand Down
4 changes: 2 additions & 2 deletions common/channelconfig/consortium.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ type ConsortiumProtos struct {
ChannelCreationPolicy *cb.Policy
}

// ConsortiumConfig holds the consoritums configuration information
// ConsortiumConfig holds the consortium's configuration information
type ConsortiumConfig struct {
protos *ConsortiumProtos
orgs map[string]Org
}

// NewConsortiumConfig creates a new instance of the consoritums config
// NewConsortiumConfig creates a new instance of the consortium's config
func NewConsortiumConfig(consortiumGroup *cb.ConfigGroup, mspConfig *MSPConfigHandler) (*ConsortiumConfig, error) {
cc := &ConsortiumConfig{
protos: &ConsortiumProtos{},
Expand Down
2 changes: 1 addition & 1 deletion common/channelconfig/msp.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func NewMSPConfigHandler(mspVersion msp.MSPVersion, bccsp bccsp.BCCSP) *MSPConfi
}
}

// ProposeValue called when an org defines an MSP
// ProposeMSP called when an org defines an MSP
func (bh *MSPConfigHandler) ProposeMSP(mspConfig *mspprotos.MSPConfig) (msp.MSP, error) {
var theMsp msp.MSP
var err error
Expand Down
2 changes: 1 addition & 1 deletion common/channelconfig/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func ChannelCreationPolicyValue(policy *cb.Policy) *StandardConfigValue {
}
}

// ACLsValues returns the config definition for an applications resources based ACL definitions.
// ACLValues returns the config definition for an applications resources based ACL definitions.
// It is a value for the /Channel/Application/.
func ACLValues(acls map[string]string) *StandardConfigValue {
a := &pb.ACLs{
Expand Down

0 comments on commit 7f30434

Please sign in to comment.