From aefdd2103ab3793d8046027ffa844bef05fcd921 Mon Sep 17 00:00:00 2001 From: Nam Truong Date: Fri, 24 Aug 2018 14:37:27 +0100 Subject: [PATCH] networkid should be grep from istanbul-genesis.json instead of genesis.json (#120) --- examples/7nodes/istanbul-start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/7nodes/istanbul-start.sh b/examples/7nodes/istanbul-start.sh index a441db8..917e701 100755 --- a/examples/7nodes/istanbul-start.sh +++ b/examples/7nodes/istanbul-start.sh @@ -42,12 +42,12 @@ while (( "$#" )); do esac done -NETWORK_ID=$(cat genesis.json | grep chainId | awk -F " " '{print $2}' | awk -F "," '{print $1}') +NETWORK_ID=$(cat istanbul-genesis.json | grep chainId | awk -F " " '{print $2}' | awk -F "," '{print $1}') if [ $NETWORK_ID -eq 1 ] then echo " Quorum should not be run with a chainId of 1 (Ethereum mainnet)" - echo " please set the chainId in the genensis.json to another value " + echo " please set the chainId in the istanbul-genesis.json to another value " echo " 1337 is the recommend ChainId for Geth private clients." fi