fix variable for rpc port

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-04-26 12:49:19 +02:00
parent a362c8d291
commit e0c965f6ab
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020

View File

@ -9,7 +9,7 @@
echo -n "Geth synced: " echo -n "Geth synced: "
RESP=$(curl -s -X POST -H 'Content-type:application/json' \ RESP=$(curl -s -X POST -H 'Content-type:application/json' \
--data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' \ --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' \
http://localhost:{{ faucet_geth_rpc_port }}/) http://localhost:{{ geth_rpc_port }}/)
echo "${RESP}" | jq -e ".result == false" \ echo "${RESP}" | jq -e ".result == false" \
|| ( echo "${RESP}" | jq . ; exit 1 ) || ( echo "${RESP}" | jq . ; exit 1 )