From 6d3193b2e3a964701c7885342b90a1b0e1cc8a6f Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Sun, 9 Jun 2019 15:16:20 +0000 Subject: [PATCH] [node] adjust node.sh with the new -accounts option Signed-off-by: Leo Chen --- scripts/node.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/node.sh b/scripts/node.sh index 0fbc67038..56c7efdec 100755 --- a/scripts/node.sh +++ b/scripts/node.sh @@ -85,11 +85,11 @@ if [[ $EUID -ne 0 ]]; then fi if [ -z "$1" ]; then - echo "Usage: $0 account_index_number" + echo "Usage: $0 account_address" echo - echo "Please provide account index." + echo "Please provide account address." echo "For foundational nodes, please follow the instructions in discord #foundational-nodes channel" - echo "to get your account index number." + echo "to generate and register your account address with " echo exit 1 fi @@ -141,9 +141,9 @@ BN_MA=/ip4/100.26.90.187/tcp/9874/p2p/Qmdfjtk6hPoyrH1zVD9PEH4zfWLo38dP2mDvvKXfh3 echo "############### Running Harmony Process ###############" if [ "$OS" == "Linux" ]; then # Run Harmony Node - LD_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -is_archival -account_index $IDX + LD_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -is_archival -accounts $IDX else - DYLD_FALLBACK_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -is_archival -account_index $IDX + DYLD_FALLBACK_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -is_archival -accounts $IDX fi find_harmony_process