Skip to content

Commit 15fb0df

Browse files
committed
Use wscat from docker image
1 parent a9b4f24 commit 15fb0df

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
@@ -7,7 +7,7 @@
77
. "${ASSETS_DIR}/variables.env"
88

99
function test_ethereum_url() {
10-
RESULT=$(wscat -c "$SHUTTER_NETWORK_NODE_ETHEREUMURL" -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}')
10+
RESULT=$(docker run --rm -it --net=host monotykamary/wscat -c "$SHUTTER_NETWORK_NODE_ETHEREUMURL" -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}')
1111
if [[ $RESULT =~ '"id":1' ]]; then return 0; else
1212
echo "Could not find DAppNode RPC/WS url for this package!"
1313
echo "Please configure 'ETHEREUM_WS' to point to an applicable websocket RPC service."

0 commit comments

Comments
 (0)