mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Update user echo text in test network (#172)
Clarify config tx generation messages. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
This commit is contained in:
parent
6f853b56a4
commit
93c55c59cc
1 changed files with 4 additions and 4 deletions
|
|
@ -35,13 +35,13 @@ createAncorPeerTx() {
|
|||
|
||||
for orgmsp in Org1MSP Org2MSP; do
|
||||
|
||||
echo "####### Generating anchor peer update for ${orgmsp} ##########"
|
||||
echo "####### Generating anchor peer update transaction for ${orgmsp} ##########"
|
||||
set -x
|
||||
configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/${orgmsp}anchors.tx -channelID $CHANNEL_NAME -asOrg ${orgmsp}
|
||||
res=$?
|
||||
set +x
|
||||
if [ $res -ne 0 ]; then
|
||||
echo "Failed to generate anchor peer update for ${orgmsp}..."
|
||||
echo "Failed to generate anchor peer update transaction for ${orgmsp}..."
|
||||
exit 1
|
||||
fi
|
||||
echo
|
||||
|
|
@ -123,11 +123,11 @@ verifyResult() {
|
|||
FABRIC_CFG_PATH=${PWD}/configtx
|
||||
|
||||
## Create channeltx
|
||||
echo "### Generating channel configuration transaction '${CHANNEL_NAME}.tx' ###"
|
||||
echo "### Generating channel create transaction '${CHANNEL_NAME}.tx' ###"
|
||||
createChannelTx
|
||||
|
||||
## Create anchorpeertx
|
||||
echo "### Generating channel configuration transaction '${CHANNEL_NAME}.tx' ###"
|
||||
echo "### Generating anchor peer update transactions ###"
|
||||
createAncorPeerTx
|
||||
|
||||
FABRIC_CFG_PATH=$PWD/../config/
|
||||
|
|
|
|||
Loading…
Reference in a new issue