aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-08-26 16:52:28 +0200
committerChristian Grothoff <christian@grothoff.org>2024-08-26 16:52:28 +0200
commitb71fe937ecc9cc097a7b063ffb273fa430127d8d (patch)
tree1c9f19befd1f6820c61c94ec703d9a4188aa3c37
parent26fb4a983a8f96a0e325573016e14d9bbe264359 (diff)
address FIXMEs
-rw-r--r--src/auditor/taler-helper-auditor-coins.c1
-rw-r--r--src/auditor/taler-helper-auditor-wire-credit.c7
2 files changed, 5 insertions, 3 deletions
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c
index 3d0d699c4..c920e0ca3 100644
--- a/src/auditor/taler-helper-auditor-coins.c
+++ b/src/auditor/taler-helper-auditor-coins.c
@@ -2146,7 +2146,6 @@ check_recoup (struct CoinContext *cc,
struct TALER_AUDITORDB_BadSigLosses bsl = {
.operation = (char *) operation,
.loss = *amount,
- // FIXME: maybe adding the wrong pub
.operation_specific_pub = coin->coin_pub.eddsa_pub
};
diff --git a/src/auditor/taler-helper-auditor-wire-credit.c b/src/auditor/taler-helper-auditor-wire-credit.c
index e1e15e88e..ecded264a 100644
--- a/src/auditor/taler-helper-auditor-wire-credit.c
+++ b/src/auditor/taler-helper-auditor-wire-credit.c
@@ -194,7 +194,9 @@ static int internal_checks;
*/
static int ignore_account_404;
-// FIXME: comment
+/**
+ * Database event handler to wake us up again.
+ */
static struct GNUNET_DB_EventHandler *eh;
/**
@@ -422,9 +424,10 @@ handle_db_error:
static void
conclude_credit_history (void)
{
- // FIXME: what about entries that are left in in_map?
if (NULL != in_map)
{
+ GNUNET_assert (0 ==
+ GNUNET_CONTAINER_multihashmap_size (in_map));
GNUNET_CONTAINER_multihashmap_destroy (in_map);
in_map = NULL;
}