Skip to content

Commit

Permalink
[FAB-4143] Fix compilation error on master
Browse files Browse the repository at this point in the history
The master is somehow broken via
14:43:38 peer/channel/deliverclient.go:118: not enough arguments in call to InitCmdFactory

Change-Id: If00de7e83542f14440f20eb86f6579efa4dc9ff0
Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
  • Loading branch information
yacovm committed May 24, 2017
1 parent fe7c127 commit ee77584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peer/channel/deliverclient.go
Expand Up @@ -115,7 +115,7 @@ func getGenesisBlock(cf *ChannelCmdFactory) (*common.Block, error) {
default:
if block, err := cf.DeliverClient.getBlock(); err != nil {
cf.DeliverClient.Close()
cf, err = InitCmdFactory(false)
cf, err = InitCmdFactory(EndorserNotRequired, OrdererRequired)
if err != nil {
return nil, fmt.Errorf("failed connecting: %v", err)
}
Expand Down

0 comments on commit ee77584

Please sign in to comment.