diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-15 13:36:47 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-15 13:36:47 +0100 |
commit | 54b3a9e9305bd1edd2529e5d0b95cf6943026fc6 (patch) | |
tree | 345b4976b6bdaf37c3ab02fb0267e0b65169fc44 /src/auditor/taler-auditor.c | |
parent | a3db0d4a8c779609137e048bd6ee7c7e4a34901c (diff) | |
download | exchange-54b3a9e9305bd1edd2529e5d0b95cf6943026fc6.tar.xz |
add required rowid for diagnostics
Diffstat (limited to 'src/auditor/taler-auditor.c')
-rw-r--r-- | src/auditor/taler-auditor.c | 5 |
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); |