Skip to content

Commit cf9859d

Browse files
committed
[FAB-9510] Mismatch of yaml label
When generating yaml file using localconfig the MaxMessageSize label is used instead of MaxMessageCount. This fixes the issue. Change-Id: I40ff56be2e777df83a2cd955c056ab6a9b573b02 Signed-off-by: Latitia M Haskins <latitia.haskins@gmail.com>
1 parent a8ae1e2 commit cf9859d

File tree

1 file changed

+1
-1
lines changed
  • common/tools/configtxgen/localconfig

1 file changed

+1
-1
lines changed

common/tools/configtxgen/localconfig/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ type Orderer struct {
164164

165165
// BatchSize contains configuration affecting the size of batches.
166166
type BatchSize struct {
167-
MaxMessageCount uint32 `yaml:"MaxMessageSize"`
167+
MaxMessageCount uint32 `yaml:"MaxMessageCount"`
168168
AbsoluteMaxBytes uint32 `yaml:"AbsoluteMaxBytes"`
169169
PreferredMaxBytes uint32 `yaml:"PreferredMaxBytes"`
170170
}

0 commit comments

Comments
 (0)