summaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor-httpd_reserve-in-inconsistency-put.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditor/taler-auditor-httpd_reserve-in-inconsistency-put.c')
-rw-r--r--src/auditor/taler-auditor-httpd_reserve-in-inconsistency-put.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/src/auditor/taler-auditor-httpd_reserve-in-inconsistency-put.c b/src/auditor/taler-auditor-httpd_reserve-in-inconsistency-put.c
index e5d57243c..dd1765b45 100644
--- a/src/auditor/taler-auditor-httpd_reserve-in-inconsistency-put.c
+++ b/src/auditor/taler-auditor-httpd_reserve-in-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>
@@ -58,7 +55,7 @@ process_inconsistency (
/* execute transaction */
qs = TAH_plugin->insert_reserve_in_inconsistency (TAH_plugin->cls,
- dc);
+ dc);
if (0 > qs)
{
GNUNET_break (GNUNET_DB_STATUS_HARD_ERROR == qs);
@@ -91,14 +88,15 @@ TAH_RESERVE_IN_INCONSISTENCY_handler_put (
struct GNUNET_JSON_Specification spec[] = {
- GNUNET_JSON_spec_int64("row_id", dc.row_id),
-TALER_JSON_spec_amount("amount_exchange_expected", TAH_currency, &dc.amount_exchange_expected),
-TALER_JSON_spec_amount("amount_wired", TAH_currency, &dc.amount_wired),
-GNUNET_JSON_spec_fixed_auto("reserve_pub", &dc.reserve_pub),
-GNUNET_JSON_spec_int64("timestamp", &dc.timestamp),
-GNUNET_JSON_spec_fixed_auto("account", &dc.account),
-GNUNET_JSON_spec_fixed_auto("diagnostic", &dc.diagnostic),
-GNUNET_JSON_spec_bool("suppressed", &dc.suppressed),
+ GNUNET_JSON_spec_int64 ("row_id", dc.row_id),
+ TALER_JSON_spec_amount ("amount_exchange_expected", TAH_currency,
+ &dc.amount_exchange_expected),
+ TALER_JSON_spec_amount ("amount_wired", TAH_currency, &dc.amount_wired),
+ GNUNET_JSON_spec_fixed_auto ("reserve_pub", &dc.reserve_pub),
+ GNUNET_JSON_spec_int64 ("timestamp", &dc.timestamp),
+ GNUNET_JSON_spec_fixed_auto ("account", &dc.account),
+ GNUNET_JSON_spec_fixed_auto ("diagnostic", &dc.diagnostic),
+ GNUNET_JSON_spec_bool ("suppressed", &dc.suppressed),
GNUNET_JSON_spec_end ()
@@ -162,5 +160,3 @@ TEAH_RESERVE_IN_INCONSISTENCY_PUT_done (void)
{
}
-
- \ No newline at end of file