From 745331ecf7cb08136ff3b928a89c4b0490af3810 Mon Sep 17 00:00:00 2001 From: yacovm Date: Thu, 28 Dec 2017 16:05:44 +0200 Subject: [PATCH] [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 --- common/configtx/test/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/configtx/test/helper.go b/common/configtx/test/helper.go index dd7bb3eb9a7..a3fef5d8c47 100644 --- a/common/configtx/test/helper.go +++ b/common/configtx/test/helper.go @@ -60,7 +60,7 @@ func MakeGenesisBlockFromMSPs(chainID string, appMSPConf, ordererMSPConf *msppro } channelGroup.Groups[channelconfig.OrdererGroupKey].Groups[ordererOrgID] = ordererOrg - channelGroup.Groups[channelconfig.ApplicationGroupKey].Groups[ordererOrgID] = applicationOrg + channelGroup.Groups[channelconfig.ApplicationGroupKey].Groups[appOrgID] = applicationOrg return genesis.NewFactoryImpl(channelGroup).Block(chainID) }