summaryrefslogtreecommitdiff
path: root/src/auditor/taler-wire-auditor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-17 15:09:28 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-17 15:09:36 +0100
commit263d36f7a55c266fca0c539df083070b535c8869 (patch)
tree8c3474f27c4a9a7b15c0811541428a943327c86e /src/auditor/taler-wire-auditor.c
parentb654a3debf5c7cba642756bc7f78a281240dea62 (diff)
downloadexchange-263d36f7a55c266fca0c539df083070b535c8869.tar.gz
exchange-263d36f7a55c266fca0c539df083070b535c8869.tar.bz2
exchange-263d36f7a55c266fca0c539df083070b535c8869.zip
report affected account
Diffstat (limited to 'src/auditor/taler-wire-auditor.c')
-rw-r--r--src/auditor/taler-wire-auditor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c
index 75bd83e53..7a44417dd 100644
--- a/src/auditor/taler-wire-auditor.c
+++ b/src/auditor/taler-wire-auditor.c
@@ -1253,7 +1253,6 @@ complain_out_not_found (void *cls,
.found = GNUNET_NO
};
- (void) wa; // FIXME: log which account is affected...
hash_rc (roi->details.credit_account_url,
&roi->details.wtid,
&rkey);
@@ -1264,7 +1263,7 @@ complain_out_not_found (void *cls,
if (GNUNET_YES == ctx.found)
return GNUNET_OK;
report (report_wire_out_inconsistencies,
- json_pack ("{s:I, s:o, s:o, s:o, s:o, s:s}",
+ json_pack ("{s:I, s:o, s:o, s:o, s:o, s:s, s:s}",
"row", (json_int_t) 0,
"amount_wired", TALER_JSON_from_amount (
&roi->details.amount),
@@ -1272,6 +1271,8 @@ complain_out_not_found (void *cls,
"wtid", GNUNET_JSON_from_data_auto (&roi->details.wtid),
"timestamp", json_from_time_abs (
roi->details.execution_date),
+ "account_section",
+ wa->section_name,
"diagnostic",
"justification for wire transfer not found"));
GNUNET_break (GNUNET_OK ==