summaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-15 13:36:47 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-15 13:36:47 +0100
commit54b3a9e9305bd1edd2529e5d0b95cf6943026fc6 (patch)
tree345b4976b6bdaf37c3ab02fb0267e0b65169fc44 /src/auditor/taler-auditor.c
parenta3db0d4a8c779609137e048bd6ee7c7e4a34901c (diff)
downloadexchange-54b3a9e9305bd1edd2529e5d0b95cf6943026fc6.tar.gz
exchange-54b3a9e9305bd1edd2529e5d0b95cf6943026fc6.tar.bz2
exchange-54b3a9e9305bd1edd2529e5d0b95cf6943026fc6.zip
add required rowid for diagnostics
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 e70615c64..94a72632d 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -26,7 +26,6 @@
*
* TODO:
* - modify auditordb to allow multiple last serial IDs per table in progress tracking
- * - modify auditordb to return row ID where we need it for diagnostics
* - implement coin/denomination audit
* - implement merchant deposit audit
* - see if we need more tables there
@@ -367,11 +366,13 @@ static int
load_auditor_reserve_summary (struct ReserveSummary *rs)
{
int ret;
+ uint64_t rowid;
ret = adb->get_reserve_info (adb->cls,
asession,
&rs->reserve_pub,
&master_pub,
+ &rowid,
&rs->a_balance,
&rs->a_withdraw_fee_balance,
&rs->a_expiration_date,
@@ -402,7 +403,7 @@ load_auditor_reserve_summary (struct ReserveSummary *rs)
&rs->a_balance)) )
{
report_row_inconsistency ("auditor-reserve-info",
- UINT64_MAX, /* FIXME: modify API to get rowid! */
+ rowid,
"currencies for reserve differ");
/* TODO: find a sane way to continue... */
GNUNET_break (0);