summaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-put.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-put.c')
-rw-r--r--src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-put.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-put.c b/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-put.c
index df6cac9b4..7cd7c31a7 100644
--- a/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-put.c
+++ b/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-put.c
@@ -1,5 +1,3 @@
-
-
/*
This file is part of TALER
Copyright (C) 2024 Taler Systems SA
@@ -17,7 +15,6 @@
*/
-
#include "platform.h"
#include <gnunet/gnunet_util_lib.h>
#include <gnunet/gnunet_json_lib.h>
@@ -57,8 +54,9 @@ process_inconsistency (
}
/* execute transaction */
- qs = TAH_plugin->insert_reserve_balance_summary_wrong_inconsistency (TAH_plugin->cls,
- dc);
+ qs = TAH_plugin->insert_reserve_balance_summary_wrong_inconsistency (
+ TAH_plugin->cls,
+ dc);
if (0 > qs)
{
GNUNET_break (GNUNET_DB_STATUS_HARD_ERROR == qs);
@@ -91,10 +89,11 @@ TAH_RESERVE_BALANCE_SUMMARY_WRONG_INCONSISTENCY_handler_put (
struct GNUNET_JSON_Specification spec[] = {
-GNUNET_JSON_spec_fixed_auto("reserve_pub", &dc.reserve_pub),
-TALER_JSON_spec_amount("exchange_amount", TAH_currency, &dc.exchange_amount),
-TALER_JSON_spec_amount("auditor_amount", TAH_currency, &dc.auditor_amount),
-GNUNET_JSON_spec_bool("suppressed", &dc.suppressed),
+ GNUNET_JSON_spec_fixed_auto ("reserve_pub", &dc.reserve_pub),
+ TALER_JSON_spec_amount ("exchange_amount", TAH_currency,
+ &dc.exchange_amount),
+ TALER_JSON_spec_amount ("auditor_amount", TAH_currency, &dc.auditor_amount),
+ GNUNET_JSON_spec_bool ("suppressed", &dc.suppressed),
GNUNET_JSON_spec_end ()
@@ -158,5 +157,3 @@ TEAH_RESERVE_BALANCE_SUMMARY_WRONG_INCONSISTENCY_PUT_done (void)
{
}
-
- \ No newline at end of file