test_update_anchors.sh 376 B

123456789101112131415
  1. #!/bin/bash
  2. # Importing useful functions for cc testing
  3. if [ -f ./func.sh ]; then
  4. source ./func.sh
  5. elif [ -f scripts/func.sh ]; then
  6. source scripts/func.sh
  7. fi
  8. ## Set the anchor peers for each org in the channel
  9. echo_b "Updating anchor peers for org1..."
  10. updateAnchorPeers ${APP_CHANNEL} 1 0
  11. echo_b "Updating anchor peers for org2..."
  12. updateAnchorPeers ${APP_CHANNEL} 2 0