aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-04-16 17:21:26 +0200
committerChristian Grothoff <christian@grothoff.org>2017-04-16 17:21:26 +0200
commit62afe341b7c6d4c33faea3d913b8322738258e8a (patch)
tree524a59a74f3926557e11a5b063aae32d3834def1 /src/auditor/taler-auditor.c
parent4d4ac495a4cca70d7ac14d01d0a0088f86e82ba1 (diff)
fix #4984
Diffstat (limited to 'src/auditor/taler-auditor.c')
-rw-r--r--src/auditor/taler-auditor.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index b94b1e868..1667c7b32 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -832,6 +832,7 @@ handle_payback_by_reserve (void *cls,
struct GNUNET_TIME_Absolute expiry;
struct TALER_PaybackRequestPS pr;
struct TALER_MasterSignatureP msig;
+ uint64_t rev_rowid;
int ret;
/* should be monotonically increasing */
@@ -866,7 +867,8 @@ handle_payback_by_reserve (void *cls,
ret = edb->get_denomination_revocation (edb->cls,
esession,
&pr.h_denom_pub,
- &msig);
+ &msig,
+ &rev_rowid);
if (GNUNET_SYSERR == ret)
{
GNUNET_break (0);
@@ -893,7 +895,7 @@ handle_payback_by_reserve (void *cls,
&master_pub.eddsa_pub))
{
report_row_inconsistency ("denomination_revocations",
- 0, /* FIXME: modify DB API to return rowid! (#4984) */
+ rev_rowid,
"master signature invalid");
}
/* TODO: cache result so we don't do this every time! (#4983) */