Skip to content

Commit

Permalink
Update sei.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mgl2150 committed Jul 19, 2023
1 parent 04edcec commit 48e4880
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infrastructure/statesync/sei.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ INTERVAL=1000

# GET TRUST HASH AND TRUST HEIGHT

LATEST_HEIGHT=$(curl -s http://statesync-sei.rhinostake.com:11957/block | jq -r .result.block.header.height);
LATEST_HEIGHT=$(curl -s http://statesync-sei.rhinostake.com:11957/block | jq -r .block.header.height);
BLOCK_HEIGHT=$(($LATEST_HEIGHT-$INTERVAL))
TRUST_HASH=$(curl -s "http://statesync-sei.rhinostake.com:11957/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
TRUST_HASH=$(curl -s "http://statesync-sei.rhinostake.com:11957/block?height=$BLOCK_HEIGHT" | jq -r .block_id.hash)

# TELL USER WHAT WE ARE DOING
echo "TRUST HEIGHT: $BLOCK_HEIGHT"
Expand Down

0 comments on commit 48e4880

Please sign in to comment.