mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
missing . in local devnet setup script (#230)
This commit is contained in:
parent
8b1f77ea01
commit
e902243186
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue