From ac6e67d0ee533260b5fd0a59a943cd4e2d4768d5 Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 9 Dec 2022 15:21:26 +1000 Subject: [PATCH] Make zcash-rpc-diff always do Zebra then zcashd (#5822) --- zebra-utils/zcash-rpc-diff | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zebra-utils/zcash-rpc-diff b/zebra-utils/zcash-rpc-diff index f134f0a43..818dac6da 100755 --- a/zebra-utils/zcash-rpc-diff +++ b/zebra-utils/zcash-rpc-diff @@ -69,15 +69,15 @@ echo if [ "$ZEBRAD_NET" != "$ZCASHD_NET" ]; then echo "WARNING: comparing RPC responses from different networks:" - echo "$ZCASHD is on: $ZCASHD_NET" echo "$ZEBRAD is on: $ZEBRAD_NET" + echo "$ZCASHD is on: $ZCASHD_NET" echo fi if [ "$ZEBRAD_HEIGHT" -ne "$ZCASHD_HEIGHT" ]; then echo "WARNING: comparing RPC responses from different heights:" - echo "$ZCASHD is at: $ZCASHD_HEIGHT" echo "$ZEBRAD is at: $ZEBRAD_HEIGHT" + echo "$ZCASHD is at: $ZCASHD_HEIGHT" echo fi @@ -98,7 +98,7 @@ echo echo -echo "Response diff between $ZCASHD and $ZEBRAD:" +echo "Response diff between $ZEBRAD and $ZCASHD:" $DIFF "$ZEBRAD_RESPONSE" "$ZCASHD_RESPONSE" \ && ( \ @@ -140,7 +140,7 @@ $ZCASH_CLI "$@" > "$ZCASHD_CHECK_RESPONSE" echo -echo "$1 diff between $ZCASHD and $ZEBRAD:" +echo "$1 diff between $ZEBRAD and $ZCASHD:" $DIFF "$ZEBRAD_CHECK_RESPONSE" "$ZCASHD_CHECK_RESPONSE" \ && ( \ @@ -173,7 +173,7 @@ if [ "$1" == "getaddressbalance" ]; then echo - echo "Balance diff between $ZCASHD and $ZEBRAD:" + echo "Balance diff between $ZEBRAD and $ZCASHD:" echo "(for both getaddressbalance and getaddressutxos)" $DIFF --from-file="$ZEBRAD_NUM_RESPONSE" "$ZCASHD_NUM_RESPONSE" \