mirror of
https://github.com/status-im/infra-role-geth.git
synced 2025-01-09 11:45:50 +00:00
fix variable for rpc port
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a362c8d291
commit
e0c965f6ab
@ -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 )
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user