From 581a39b5b5037d4e0419d8ce5448371a52499d80 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 28 Aug 2020 20:02:08 +0200 Subject: improve reporting, also use auditor fee calculation when computing reserve balance updates in case of disagreement on coin value/fee --- src/auditor/test-auditor.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/auditor/test-auditor.sh') 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 } -- cgit v1.2.3