Skip to content

Commit 1e6c453

Browse files
fix: test_ethereum_url
1 parent 26ad3cc commit 1e6c453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shutter/scripts/configure_keyper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function test_ethereum_url() {
1717
RESULT=$(wscat -c "$SHUTTER_NETWORK_NODE_ETHEREUMURL" -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}')
1818
if [[ $RESULT =~ '"id":1' ]]; then return 0; else
1919
export SHUTTER_NETWORK_NODE_ETHEREUMURL=ws://execution.${NETWORK}.dncore.dappnode:8545
20-
RESULT=$(wscat -c "" -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}')
20+
RESULT=$(wscat -c "$SHUTTER_NETWORK_NODE_ETHEREUMURL" -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}')
2121
if [[ $RESULT =~ '"id":1' ]]; then return 0; else
2222
echo "Could not find DAppNode RPC/WS url for this package!"
2323
echo "Please configure 'ETHEREUM_WS' to point to an applicable websocket RPC service."

0 commit comments

Comments
 (0)