Skip to content

Commit 6a0aede

Browse files
authored
chore: fix test suite configuration script (#2402)
1 parent e94b7bb commit 6a0aede

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/configure_test_suite_network.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,15 @@ MASTERNODE_OWNER_MASTER_PRIVATE_KEY=$(yq .hp_masternodes."$MASTERNODE_NAME".owne
5757

5858
if [[ "$NETWORK_STRING" == "devnet"* ]]; then
5959
NETWORK=devnet
60-
INSIGHT_URL="http://insight.${NETWORK_STRING#devnet-}.networks.dash.org:3001/insight-api/sync"
6160
CERT_FLAG=":self-signed"
6261
ST_EXECUTION_INTERVAL=5000
6362
else
6463
NETWORK=testnet
65-
INSIGHT_URL="https://testnet-insight.dashevo.org/insight-api/sync"
6664
CERT_FLAG=""
6765
ST_EXECUTION_INTERVAL=15000
6866
fi
69-
SKIP_SYNC_BEFORE_HEIGHT=4800 # $(curl -s $INSIGHT_URL | jq '.height - 200')
67+
INSIGHT_URL="http://insight.${NETWORK_STRING#devnet-}.networks.dash.org:3001/insight-api/sync"
68+
SKIP_SYNC_BEFORE_HEIGHT=$(curl -s $INSIGHT_URL | jq '.height - 200')
7069

7170
# check variables are not empty
7271
if [ -z "$FAUCET_ADDRESS" ] || \

0 commit comments

Comments
 (0)