Skip to content

Commit

Permalink
chore: fix some function names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: finaltrip <[email protected]>
  • Loading branch information
finaltrip authored and denyeart committed Feb 10, 2025
1 parent e22c269 commit 8d3fa2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/pkg/comm/creds.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (t *TLSConfig) SetClientCAs(certPool *x509.CertPool) {
t.config.ClientCAs = certPool
}

// ClientHandShake is not implemented for `serverCreds`.
// ClientHandshake is not implemented for `serverCreds`.
func (sc *serverCreds) ClientHandshake(context.Context, string, net.Conn) (net.Conn, credentials.AuthInfo, error) {
return nil, nil, ErrClientHandshakeNotImplemented
}
Expand Down
2 changes: 1 addition & 1 deletion msp/mgmt/testtools/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/hyperledger/fabric/msp/mgmt"
)

// LoadTestMSPSetup sets up the local MSP
// LoadMSPSetupForTesting sets up the local MSP
// and a chain MSP for the default chain
func LoadMSPSetupForTesting() error {
dir := configtest.GetDevMspDir()
Expand Down
2 changes: 1 addition & 1 deletion orderer/mocks/common/multichannel/multichannel.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (mcs *ConsenterSupport) WriteBlock(block *cb.Block, encodedMetadataValue []
mcs.Append(block)
}

// WriteBlock writes data to the Blocks channel
// WriteBlockSync writes data to the Blocks channel
func (mcs *ConsenterSupport) WriteBlockSync(block *cb.Block, encodedMetadataValue []byte) {
mcs.WriteBlock(block, encodedMetadataValue)
}
Expand Down

0 comments on commit 8d3fa2c

Please sign in to comment.