2017-11-06 12:18:37 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Importing useful functions for cc testing
|
|
|
|
if [ -f ./func.sh ]; then
|
|
|
|
source ./func.sh
|
|
|
|
elif [ -f scripts/func.sh ]; then
|
|
|
|
source scripts/func.sh
|
|
|
|
fi
|
|
|
|
|
|
|
|
## Set the anchor peers for each org in the channel
|
|
|
|
echo_b "Updating anchor peers for org1..."
|
2017-12-29 22:29:56 +08:00
|
|
|
channelUpdate ${APP_CHANNEL} 1 0 Org1MSPanchors.tx
|
2017-11-06 12:18:37 +08:00
|
|
|
|
|
|
|
echo_b "Updating anchor peers for org2..."
|
2017-12-29 22:29:56 +08:00
|
|
|
channelUpdate ${APP_CHANNEL} 2 0 Org2MSPanchors.tx
|