diff --git a/cicd/devnet/start-local-devnet.sh b/cicd/devnet/start-local-devnet.sh index 1611ee0eff..ca52cfaa50 100755 --- a/cicd/devnet/start-local-devnet.sh +++ b/cicd/devnet/start-local-devnet.sh @@ -19,10 +19,10 @@ then echo "${private_key}" >> ./tmp/key echo "Creating a new wallet" wallet=$(../../build/bin/XDC account import --password ./tmp/.pwd --datadir ./tmp/xdcchain ./tmp/key | awk -v FS="({|})" '{print $2}') - ../../build/bin/XDC --datadir /tmp/xdcchain init ./genesis.json + ../../build/bin/XDC --datadir ./tmp/xdcchain init ./genesis.json else echo "Wallet already exist, re-use the same one. If you have changed the private key, please manually inspect the key if matches. Otherwise, delete the 'tmp' directory and start again!" - wallet=$(../../build/bin/XDC account list --datadir /tmp/xdcchain | head -n 1 | awk -v FS="({|})" '{print $2}') + wallet=$(../../build/bin/XDC account list --datadir ./tmp/xdcchain | head -n 1 | awk -v FS="({|})" '{print $2}') fi input="./bootnodes.list"