summaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-09-05 10:40:44 +0200
committerChristian Grothoff <christian@grothoff.org>2019-09-05 10:40:44 +0200
commit8e9ce98661ed402ec4e037b4812feec893c151be (patch)
tree49f65760bd30132320baaedf5e9f44083e1d188f /src/auditor
parent1e685a02413b739545dfb5b677d66a327760a9df (diff)
downloadexchange-8e9ce98661ed402ec4e037b4812feec893c151be.tar.gz
exchange-8e9ce98661ed402ec4e037b4812feec893c151be.tar.bz2
exchange-8e9ce98661ed402ec4e037b4812feec893c151be.zip
bugnotes, minor fix
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/taler-auditor.c1
-rwxr-xr-xsrc/auditor/test-auditor.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index 5a621992e..9d4dff83f 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -1537,6 +1537,7 @@ verify_reserve_balance (void *cls,
}
/* Check that reserve is being closed if it is past its expiration date */
+ /* FIXME: need to consider closing_fee here! */
if ( (CLOSING_GRACE_PERIOD.rel_value_us >
GNUNET_TIME_absolute_get_duration (
rs->a_expiration_date).rel_value_us) &&
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index aad233c7f..7697b4fa7 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -754,7 +754,7 @@ then
fi
LOSS=`jq -er .bad_sig_losses[0].loss < test-audit.json`
-TOTAL_LOSS=`jq -e .total_bad_sig_loss < test-audit.json`
+TOTAL_LOSS=`jq -er .total_bad_sig_loss < test-audit.json`
if test x$LOSS != x$TOTAL_LOSS
then
exit_fail "Loss inconsistent, got $LOSS and $TOTAL_LOSS"