Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tj327 committed Nov 23, 2023
1 parent 0e570f0 commit 761c14d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test-local/Transactions/query-transactions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RESULT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend
TX_HASH=0x$(echo $RESULT | jsonQuickParse "txhash")

INTERX_GATEWAY="127.0.0.1:11000"
RESULT_FROM_INTERX=$(curl --fail $INTERX_GATEWAY/api/transactions?address=$TESTUSER_ADDRESS&type=receive || exit 1)
RESULT_FROM_INTERX=$(curl --fail "$INTERX_GATEWAY/api/transactions?address=$TESTUSER_ADDRESS&type=send" || exit 1)

RESULT_TOTAL_COUNT=$(echo $RESULT_FROM_INTERX | jq '.total_count' | tr -d '"')
RESULT_TX_HASH=$(echo $RESULT_FROM_INTERX | jq '.transactions[0].hash' | tr -d '"')
Expand Down

0 comments on commit 761c14d

Please sign in to comment.