diff --git a/orderer/common/sharedconfig/sharedconfig.go b/orderer/common/sharedconfig/sharedconfig.go index 71678d12d7a..c6045fa1242 100644 --- a/orderer/common/sharedconfig/sharedconfig.go +++ b/orderer/common/sharedconfig/sharedconfig.go @@ -201,7 +201,7 @@ func (pm *ManagerImpl) ProposeConfig(configItem *cb.ConfigurationItem) error { return fmt.Errorf("Attempted to set the batch size absolute max bytes to an invalid value: 0") } if batchSize.PreferredMaxBytes == 0 { - return fmt.Errorf("Attempted to set the batch size absolute max bytes to an invalid value: 0") + return fmt.Errorf("Attempted to set the batch size preferred max bytes to an invalid value: 0") } if batchSize.PreferredMaxBytes > batchSize.AbsoluteMaxBytes { return fmt.Errorf("Attempted to set the batch size preferred max bytes (%v) greater than the absolute max bytes (%v).", batchSize.PreferredMaxBytes, batchSize.AbsoluteMaxBytes)