Skip to content

Commit

Permalink
chore: fix function names in comment (#4858)
Browse files Browse the repository at this point in the history
Signed-off-by: petercover <raowanxiang@outlook.com>
  • Loading branch information
petercover committed May 15, 2024
1 parent a9129db commit 71cda03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gossip/gossip/pull/pullstore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type pullMsg struct {
msg *protoext.SignedGossipMessage
}

// GetSourceMessage Returns the SignedGossipMessage the ReceivedMessage was
// GetSourceEnvelope Returns the SignedGossipMessage the ReceivedMessage was
// constructed with
func (pm *pullMsg) GetSourceEnvelope() *gossip.Envelope {
return pm.msg.Envelope
Expand Down
2 changes: 1 addition & 1 deletion gossip/protoext/receivedmessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type ReceivedMessage interface {
// GetGossipMessage returns the underlying GossipMessage
GetGossipMessage() *SignedGossipMessage

// GetSourceMessage Returns the Envelope the ReceivedMessage was
// GetSourceEnvelope Returns the Envelope the ReceivedMessage was
// constructed with
GetSourceEnvelope() *gossip.Envelope

Expand Down
2 changes: 1 addition & 1 deletion integration/lifecycle/lifecycle_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func CommitTx(nw *nwo.Network, tx *pcommon.Envelope, peer *nwo.Peer, dc pb.Deliv
}
}

// GenerateOrgUpdateMeterials generates the necessary configtx and
// GenerateOrgUpdateMaterials generates the necessary configtx and
// crypto materials for a new org's peers to join a network
func GenerateOrgUpdateMaterials(n *nwo.Network, peers ...*nwo.Peer) {
orgUpdateNetwork := *n
Expand Down

0 comments on commit 71cda03

Please sign in to comment.