Skip to content

Commit 745331e

Browse files
committedDec 28, 2017
[FAB-7566] appOrgs put into wrong key in helper.go
The function MakeGenesisBlockFromMSPs skips appOrgID and instead encodes the applicationOrg object into the orderer organization. Change-Id: Ia8bb3b350bc84f9b683a25fc0027aebe6c2e7224 Signed-off-by: yacovm <yacovm@il.ibm.com>
1 parent 2667063 commit 745331e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎common/configtx/test/helper.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func MakeGenesisBlockFromMSPs(chainID string, appMSPConf, ordererMSPConf *msppro
6060
}
6161

6262
channelGroup.Groups[channelconfig.OrdererGroupKey].Groups[ordererOrgID] = ordererOrg
63-
channelGroup.Groups[channelconfig.ApplicationGroupKey].Groups[ordererOrgID] = applicationOrg
63+
channelGroup.Groups[channelconfig.ApplicationGroupKey].Groups[appOrgID] = applicationOrg
6464

6565
return genesis.NewFactoryImpl(channelGroup).Block(chainID)
6666
}

0 commit comments

Comments
 (0)
Please sign in to comment.