Skip to content

Commit 49dfcb9

Browse files
authored
chore: fix some minor issues in the comments (hyperledger#5242)
Signed-off-by: mountdisk <mountdisk@icloud.com>
1 parent f2ef208 commit 49dfcb9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integration/raft/migration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ func updateOrdererOrgEndpointsConfigSucceeds(n *nwo.Network, orderer *nwo.Ordere
991991
Expect(sess.Err).To(gbytes.Say("Successfully submitted channel update"))
992992
}
993993

994-
// UpdateOrdererConfig computes, signs, and submits a configuration update
994+
// UpdateOrdererConfigFails computes, signs, and submits a configuration update
995995
// which requires orderers signature. the update should fail.
996996
func UpdateOrdererConfigFails(n *nwo.Network, orderer *nwo.Orderer, channel string, current, updated *common.Config, submitter *nwo.Peer, additionalSigners ...*nwo.Orderer) {
997997
tempDir, err := os.MkdirTemp(n.RootDir, "updateConfig")

internal/configtxgen/encoder/encoder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ func consenterProtosFromConfig(consenterMapping []*genesisconfig.Consenter) ([]*
286286
return consenterProtos, nil
287287
}
288288

289-
// NewConsortiumsGroup returns an org component of the channel configuration. It defines the crypto material for the
289+
// NewConsortiumOrgGroup returns an org component of the channel configuration. It defines the crypto material for the
290290
// organization (its MSP). It sets the mod_policy of all elements to "Admins".
291291
func NewConsortiumOrgGroup(conf *genesisconfig.Organization) (*cb.ConfigGroup, error) {
292292
consortiumsOrgGroup := protoutil.NewConfigGroup()

0 commit comments

Comments
 (0)