solve the warning in the first-network project

Signed-off-by: bjzhang03 <bjzhang03@foxmail.com>
This commit is contained in:
bjzhang03 2018-10-25 03:11:56 -04:00
parent 7fd95f6a25
commit e8cecbab07
2 changed files with 12 additions and 1 deletions

View file

@ -383,7 +383,7 @@ function generateChannelArtifacts() {
# Note: For some unknown reason (at least for now) the block file can't be
# named orderer.genesis.block or the orderer will fail to launch!
set -x
configtxgen -profile TwoOrgsOrdererGenesis -outputBlock ./channel-artifacts/genesis.block
configtxgen -profile TwoOrgsOrdererGenesis -channelID testchainid -outputBlock ./channel-artifacts/genesis.block
res=$?
set +x
if [ $res -ne 0 ]; then

View file

@ -23,6 +23,17 @@ Organizations:
MSPDir: crypto-config/peerOrganizations/org3.example.com/msp
Policies:
Readers:
Type: Signature
Rule: "OR('Org3MSP.admin', 'Org3MSP.peer', 'Org3MSP.client')"
Writers:
Type: Signature
Rule: "OR('Org3MSP.admin', 'Org3MSP.client')"
Admins:
Type: Signature
Rule: "OR('Org3MSP.admin')"
AnchorPeers:
# AnchorPeers defines the location of peers which can be used
# for cross org gossip communication. Note, this value is only