summaryrefslogtreecommitdiff
path: root/src/auditor/test-auditor.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-28 20:02:08 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-28 20:02:08 +0200
commit581a39b5b5037d4e0419d8ce5448371a52499d80 (patch)
tree1cd2e034e527f87f0d51f61e7ebc556383041bda /src/auditor/test-auditor.sh
parent1ef9735115730c5d236791ce0c4353d548110159 (diff)
downloadexchange-581a39b5b5037d4e0419d8ce5448371a52499d80.tar.gz
exchange-581a39b5b5037d4e0419d8ce5448371a52499d80.tar.bz2
exchange-581a39b5b5037d4e0419d8ce5448371a52499d80.zip
improve reporting, also use auditor fee calculation when computing reserve balance updates in case of disagreement on coin value/fee
Diffstat (limited to 'src/auditor/test-auditor.sh')
-rwxr-xr-xsrc/auditor/test-auditor.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 4326fda40..62c4c664d 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -1655,7 +1655,7 @@ echo "UPDATE auditor_denominations SET fee_withdraw_frac=5000000 WHERE coin_val=
run_audit
echo -n "Testing inconsistency detection... "
-AMOUNT=`jq -r .total_balance_summary_delta_plus < test-audit-reserves.json`
+AMOUNT=`jq -r .total_balance_summary_delta_minus < test-audit-reserves.json`
if test "x$AMOUNT" == "xTESTKUDOS:0"
then
exit_fail "Reported total amount wrong: $AMOUNT"
@@ -1826,7 +1826,7 @@ check_with_database()
fi
done
echo "Cleanup (disabled, leaving database $DB behind)"
- dropdb $DB
+ # dropdb $DB
rm -r $WIRE_FEE_DIR
}