Skip to content
Permalink
Browse files

minor tweak to bootstrap script

  • Loading branch information...
vincenthz committed Jun 12, 2019
1 parent e615996 commit 3e5e425d232ec342ee45d86bd133fec149263ad2
Showing with 5 additions and 2 deletions.
  1. +5 −2 scripts/bootstrap
@@ -38,7 +38,7 @@ done

[ -n "${REST_PORT}" ] && [ "${REST_PORT}" -eq "${REST_PORT}" ] 2>/dev/null
if [ $? -ne 0 ]; then
echo "${REST_PORT} is not valid number"
echo "error: ${REST_PORT} is not valid number"
exit 1
fi

@@ -59,7 +59,6 @@ fi


echo "########################################################"
echo " Creating configuration with"
echo ""
echo "* Consensus: ${RED}${CONSENSUS}${WHITE}"
echo "* REST Port: ${RED}${REST_PORT}${WHITE}"
@@ -160,6 +159,10 @@ peer_2_peer:
EOF

$CLI genesis encode --input genesis.yaml --output block-0.bin
if [ $? -ne 0 ]; then
echo "error: building the genesis block"
exit 1
fi

### PRINT

0 comments on commit 3e5e425

Please sign in to comment.
You can’t perform that action at this time.