summaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-17 15:02:27 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-17 15:02:27 +0100
commite88ad199e667a435046ca2d7cc967ba740fa0452 (patch)
tree593488d740040ed37b15e619ae3894662c31fa49 /src/auditor/taler-auditor.c
parent01456098909a4ebddf5a84729242be235af2fdbb (diff)
downloadexchange-e88ad199e667a435046ca2d7cc967ba740fa0452.tar.gz
exchange-e88ad199e667a435046ca2d7cc967ba740fa0452.tar.bz2
exchange-e88ad199e667a435046ca2d7cc967ba740fa0452.zip
FIXME is not needed, explain why
Diffstat (limited to 'src/auditor/taler-auditor.c')
-rw-r--r--src/auditor/taler-auditor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index 3a44c55f7..8b2c2c37e 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2016, 2017, 2018, 2019 Taler Systems SA
+ Copyright (C) 2016-2020 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU Affero Public License as published by the Free Software
@@ -1298,7 +1298,8 @@ handle_payback_by_reserve (void *cls,
/* should be monotonically increasing */
GNUNET_assert (rowid >= ppr.last_reserve_payback_serial_id);
ppr.last_reserve_payback_serial_id = rowid + 1;
- // FIXME: should probably check that denom_pub hashes to this hash code!
+ /* We know that denom_pub matches denom_pub_hash because this
+ is how the SQL statement joined the tables. */
pr.h_denom_pub = coin->denom_pub_hash;
pr.purpose.purpose = htonl (TALER_SIGNATURE_WALLET_COIN_PAYBACK);
pr.purpose.size = htonl (sizeof (pr));