Commit fd03727c authored by lynAzrael's avatar lynAzrael Committed by 33cn

add txhash print

parent a8ab3453
...@@ -230,6 +230,7 @@ function sendSignedTx() { ...@@ -230,6 +230,7 @@ function sendSignedTx() {
function queryTransaction() { function queryTransaction() {
validators=$1 validators=$1
expectRes=$2 expectRes=$2
echo "txhash=${txHash}"
res=$(curl -s --data-binary '{"jsonrpc":"2.0","id":2,"method":"Chain33.QueryTransaction","params":[{"hash":"'"${txHash}"'"}]}' -H 'content-type:text/plain;' ${MAIN_HTTP}) res=$(curl -s --data-binary '{"jsonrpc":"2.0","id":2,"method":"Chain33.QueryTransaction","params":[{"hash":"'"${txHash}"'"}]}' -H 'content-type:text/plain;' ${MAIN_HTTP})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment