Skip to content

Commit

Permalink
update script.
Browse files Browse the repository at this point in the history
  • Loading branch information
lolieatcat committed Jul 25, 2019
1 parent 7f0785b commit 775490d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loadScript/deployValidator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fi

addrNew=`echo ${ADDR} | sed 's/.\(.*\)/\1/' | sed 's/\(.*\)./\1/'`

sudo docker run -d --name gwan -p 17717:17717 -p 17717:17717/udp -v /home/${USER}/.wanchain:/root/.wanchain ${DOCKERIMG} /bin/gwan ${NETWORK} --etherbase ${addrNew} --unlock ${addrNew} --password /root/.wanchain/pw.txt --mine --minerthreads=1 --wanstats ${YOUR_NODE_NAME}:admin@54.193.4.239:80
sudo docker run -d --name gwan -p 17717:17717 -p 17717:17717/udp -v /home/${USER}/.wanchain:/root/.wanchain ${DOCKERIMG} /bin/gwan ${NETWORK} --etherbase ${addrNew} --unlock ${addrNew} --password /root/.wanchain/pw.txt --mine --minerthreads=1 --wanstats ${YOUR_NODE_NAME}:admin@testnet.wanstats.io

if [ $? -ne 0 ]; then
echo "docker run failed"
Expand Down

0 comments on commit 775490d

Please sign in to comment.