Skip to content

Commit

Permalink
[FAB-7566] appOrgs put into wrong key in helper.go
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yacovm committed Dec 28, 2017
1 parent 2667063 commit 745331e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/configtx/test/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 745331e

Please sign in to comment.