From 9bdc74d18e10cb06bdf68694d04b1ccbf9b16fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 26 Apr 2019 12:51:48 +0200 Subject: [PATCH] params argument is optional for eth_syncing call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- tasks/consul.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/consul.yml b/tasks/consul.yml index d147dbf..8a563ef 100644 --- a/tasks/consul.yml +++ b/tasks/consul.yml @@ -8,7 +8,7 @@ set -e echo -n "Geth synced: " 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","id":1}' \ http://localhost:{{ geth_rpc_port }}/) echo "${RESP}" | jq -e ".result == false" \ || ( echo "${RESP}" | jq . ; exit 1 )