diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-28 20:02:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-28 20:02:08 +0200 |
commit | 581a39b5b5037d4e0419d8ce5448371a52499d80 (patch) | |
tree | 1cd2e034e527f87f0d51f61e7ebc556383041bda /src/auditor/test-auditor.sh | |
parent | 1ef9735115730c5d236791ce0c4353d548110159 (diff) | |
download | exchange-581a39b5b5037d4e0419d8ce5448371a52499d80.tar.xz |
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-x | src/auditor/test-auditor.sh | 4 |
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 } |