From e902243186711090fc738abb5114282e4207208f Mon Sep 17 00:00:00 2001 From: Jerome Date: Wed, 1 Mar 2023 21:54:45 +1100 Subject: [PATCH] missing . in local devnet setup script (#230) --- cicd/devnet/start-local-devnet.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"