Skip to content

Commit

Permalink
#4538: fixed verify-range ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
sreuland committed Aug 26, 2024
1 parent e56e346 commit 2270bba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/horizon/docker/verify-range/start
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"

if [ $FROM -eq 0 ] && [ $TO -eq 0 ]; then
RECENTSMALLRANGE=$(curl -s "$HISTORY_ARCHIVE_URLS/.well-known/stellar-history.json" | jq -r --exit-status 'if .currentLedger < 64 then "0;63" else "\(.currentLedger-64);\(.currentLedger)" end' | tr ";" "\n")
export FROM=RECENTSMALLRANGE[0]
export TO=RECENTSMALLRANGE[1]
export FROM=$RECENTSMALLRANGE[0]
export TO=$RECENTSMALLRANGE[1]
fi

# Calculate params for AWS Batch
Expand Down

0 comments on commit 2270bba

Please sign in to comment.