use different port for bootnode in local test

Signed-off-by: Leo Chen <leo@harmony.one>
pull/493/head
Leo Chen 6 years ago
parent 3493dd1bda
commit 51349ca685
  1. 2
      test/deploy.sh

@ -141,7 +141,7 @@ if [ "$P2P" == "false" ]; then
HMY_OPT=" -bc_addr $BC_MA" HMY_OPT=" -bc_addr $BC_MA"
else else
echo "launching boot node ..." echo "launching boot node ..."
$DRYRUN $ROOT/bin/bootnode > $log_folder/bootnode.log 2>&1 | tee -a $LOG_FILE & $DRYRUN $ROOT/bin/bootnode -port 19876 > $log_folder/bootnode.log 2>&1 | tee -a $LOG_FILE &
sleep 1 sleep 1
BN_MA=$(grep "BN_MA" $log_folder/bootnode.log | awk -F\= ' { print $2 } ') BN_MA=$(grep "BN_MA" $log_folder/bootnode.log | awk -F\= ' { print $2 } ')
HMY_OPT2=" -bootnodes $BN_MA" HMY_OPT2=" -bootnodes $BN_MA"

Loading…
Cancel
Save