Skip to content

Commit

Permalink
[FAB-1696] Fix typo s/absolute/preferred/ in message
Browse files Browse the repository at this point in the history
Change-Id: I2a6331d35cab0efa143f8e1b19fe51e09c73fdc6
Signed-off-by: Luis Sanchez <sanchezl@us.ibm.com>
  • Loading branch information
Luis Sanchez committed Jan 17, 2017
1 parent 1642e88 commit 0e0de5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orderer/common/sharedconfig/sharedconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0e0de5c

Please sign in to comment.