Skip to content

Commit 820f0b8

Browse files
authored
chore: fix inconsistent function name in comment (hyperledger#5246)
Signed-off-by: bytesingsong <bytesing@icloud.com>
1 parent 49dfcb9 commit 820f0b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration/raft/migration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ func CreateBroadcastEnvelope(n *nwo.Network, entity interface{}, channel string,
855855
return env
856856
}
857857

858-
// assertBlockReception asserts that the given orderers have the expected
858+
// assertBlockReceptionInAllOrderers asserts that the given orderers have the expected
859859
// newest block number for the specified channels
860860
func assertBlockReceptionInAllOrderers(orderers []*nwo.Orderer, peer *nwo.Peer, network *nwo.Network, channelId string, currentBlockNumber uint64) {
861861
for _, orderer := range orderers {
@@ -889,7 +889,7 @@ func prepareBftMetadata() *smartbft.Options {
889889
return bftMetadata
890890
}
891891

892-
// prepareBftMetadata prepare the bft consensusType.Metadata
892+
// prepareInvalidBftMetadata prepare the bft consensusType.Metadata
893893
func prepareInvalidBftMetadata() *smartbft.Options {
894894
bftMetadata := &smartbft.Options{
895895
RequestBatchMaxCount: 0,

0 commit comments

Comments
 (0)