From 62afe341b7c6d4c33faea3d913b8322738258e8a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 16 Apr 2017 17:21:26 +0200 Subject: fix #4984 --- src/auditor/taler-auditor.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/auditor/taler-auditor.c') 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) */ -- cgit v1.2.3