Merge "[FAB-12275] Fix the warn in creating genesis block"

This commit is contained in:
David Enyeart 2018-10-04 04:34:03 +00:00 committed by Gerrit Code Review
commit 61059f5f12

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 byfn-sys-channel -outputBlock ./channel-artifacts/genesis.block
res=$?
set +x
if [ $res -ne 0 ]; then