Skip to content

Commit

Permalink
Merge branch 'hu55a1n1/22-mtcs-enclave-light-client-check' of github.…
Browse files Browse the repository at this point in the history
…com:informalsystems/cycles-quartz into hu55a1n1/22-mtcs-enclave-light-client-check
  • Loading branch information
hu55a1n1 committed Jul 24, 2024
2 parents b3df408 + 268f675 commit 5963400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/transfers/scripts/listen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ REPORT_SIG_FILE="/tmp/${USER}_datareportsig"
echo "---------------------------------------------------------"
echo "... received wasm-transfer event!"

current_height=$(wasmd status 2>&1 | jq -r .SyncInfo.latest_block_height)
current_height=$($CMD status | jq -r .SyncInfo.latest_block_height)
next_height=$((current_height + 1))

while [ "$(wasmd status 2>&1 | jq -r .SyncInfo.latest_block_height)" -lt "$next_height" ]; do
while [ "$($CMD status 2>&1 | jq -r .SyncInfo.latest_block_height)" -lt "$next_height" ]; do
echo "waiting for next block"
sleep 1
done
Expand Down

0 comments on commit 5963400

Please sign in to comment.