mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +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 "${private_key}" >> ./tmp/key
|
||||||
echo "Creating a new wallet"
|
echo "Creating a new wallet"
|
||||||
wallet=$(../../build/bin/XDC account import --password ./tmp/.pwd --datadir ./tmp/xdcchain ./tmp/key | awk -v FS="({|})" '{print $2}')
|
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
|
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!"
|
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
|
fi
|
||||||
|
|
||||||
input="./bootnodes.list"
|
input="./bootnodes.list"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue