Skip to content

Commit

Permalink
[FAB-5937] Bad default mod_policy for Consortiums
Browse files Browse the repository at this point in the history
The mod_policy for /Channel/Consortiums/Admins currently defaults to
Admins (itself), but this should be /Channel/Orderer/Admins.

This CR fixes configtxgen to set the appropriate default.

Change-Id: Icbcea833fb6bb7f6c8528edacb575f9f2b3be6ee
Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
  • Loading branch information
Jason Yellick committed Aug 28, 2017
1 parent 20cfd31 commit 2d8e6fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/tools/configtxgen/provisional/provisional.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ func New(conf *genesisconfig.Profile) Generator {
Type: int32(cb.Policy_SIGNATURE),
Value: utils.MarshalOrPanic(cauthdsl.AcceptAllPolicy),
},
ModPolicy: OrdererAdminsPolicy,
}

bs.consortiumsGroups = append(bs.consortiumsGroups, tcg)
Expand Down

0 comments on commit 2d8e6fe

Please sign in to comment.