commit 7ae88f3a39581341cd452218e5600fa2a6d2d6d3
parent 74c56c228c09c60ccb6a4eb3a053de4f99a6c79e
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 13 Oct 2024 22:46:07 +0200
-fix auditor test_6, style fixes
Diffstat:
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c b/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c
@@ -29,21 +29,19 @@
* Add reserve-balance-summary-wrong-inconsistency to the list.
*
* @param[in,out] cls a `json_t *` array to extend
- * @param serial_id location of the @a dc in the database
* @param dc struct of inconsistencies
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
process_reserve_balance_summary_wrong_inconsistency (
void *cls,
- uint64_t serial_id,
const struct TALER_AUDITORDB_ReserveBalanceSummaryWrongInconsistency *dc)
{
json_t *list = cls;
json_t *obj;
obj = GNUNET_JSON_PACK (
- GNUNET_JSON_pack_int64 ("row_id", serial_id),
+ GNUNET_JSON_pack_int64 ("row_id", dc->row_id),
GNUNET_JSON_pack_data_auto ("reserve_pub", &dc->reserve_pub),
TALER_JSON_pack_amount ("exchange_amount", &dc->exchange_amount),
TALER_JSON_pack_amount ("auditor_amount", &dc->auditor_amount),
diff --git a/src/include/taler_auditordb_plugin.h b/src/include/taler_auditordb_plugin.h
@@ -929,7 +929,6 @@ typedef enum GNUNET_GenericReturnValue
typedef enum GNUNET_GenericReturnValue
(*TALER_AUDITORDB_ReserveBalanceSummaryWrongInconsistencyCallback)(
void *cls,
- uint64_t serial_id,
const struct TALER_AUDITORDB_ReserveBalanceSummaryWrongInconsistency *dc);
typedef enum GNUNET_GenericReturnValue