Skip to content

Commit

Permalink
missing . in local devnet setup script (ethereum#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjrjerome authored Mar 1, 2023
1 parent 8b1f77e commit e902243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cicd/devnet/start-local-devnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e902243

Please sign in to comment.