mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 11:35:10 +00:00
setAnchorPeer.sh
This commit is contained in:
parent
1986aa44bf
commit
353f4fc13b
1 changed files with 20 additions and 5 deletions
|
|
@ -26,6 +26,21 @@ createAnchorPeerUpdate() {
|
||||||
elif [ $ORG -eq 3 ]; then
|
elif [ $ORG -eq 3 ]; then
|
||||||
HOST="peer0.org3.example.com"
|
HOST="peer0.org3.example.com"
|
||||||
PORT=11051
|
PORT=11051
|
||||||
|
#
|
||||||
|
# 4 5 6
|
||||||
|
#
|
||||||
|
elif [ $ORG -eq 4 ]; then
|
||||||
|
HOST="peer0.org4.example.com"
|
||||||
|
PORT=13051
|
||||||
|
elif [ $ORG -eq 5 ]; then
|
||||||
|
HOST="peer0.org5.example.com"
|
||||||
|
PORT=15051
|
||||||
|
elif [ $ORG -eq 6 ]; then
|
||||||
|
HOST="peer0.org6.example.com"
|
||||||
|
PORT=17051
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
else
|
else
|
||||||
errorln "Org${ORG} unknown"
|
errorln "Org${ORG} unknown"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue