[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: report affected account
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: report affected account |
Date: |
Fri, 17 Jan 2020 15:09:38 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 263d36f7 report affected account
263d36f7 is described below
commit 263d36f7a55c266fca0c539df083070b535c8869
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Jan 17 15:09:28 2020 +0100
report affected account
---
contrib/auditor-report.tex.j2 | 8 ++++----
src/auditor/taler-wire-auditor.c | 5 +++--
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/contrib/auditor-report.tex.j2 b/contrib/auditor-report.tex.j2
index 732af99c..58f8080f 100644
--- a/contrib/auditor-report.tex.j2
+++ b/contrib/auditor-report.tex.j2
@@ -766,16 +766,16 @@ with respect to outgoing wire transfers.
{% else %}
\begin{longtable}{p{5.5cm}|r|r}
{\bf Wire transfer identifier} & {\bf Wired} & {\bf Justified} \\
- {\bf Diagnostic} & {\bf Row} & {\bf Timestamp} \\
+ {\bf Account} & {\bf Row} & {\bf Timestamp} \\
\hline \hline
\endfirsthead
{\bf Wire transfer identifier} & {\bf Wired} & {\bf Justified} \\
- {\bf Diagnostic} & {\bf Row} & {\bf Timestamp} \\
+ {\bf Account} & {\bf Row} & {\bf Timestamp} \\
\hline \hline
\endhead
\hline \hline
{\bf Wire transfer identifier} & {\bf Wired} & {\bf Justified} \\
- {\bf Diagnostic} & {\bf Row} & {\bf Timestamp} \\
+ {\bf Account} & {\bf Row} & {\bf Timestamp} \\
\endfoot
\hline
{\bf Total deltas} &
@@ -789,7 +789,7 @@ with respect to outgoing wire transfers.
{{ item.amount_wired }} &
{{ item.amount_justified }} \\
\nopagebreak
- {{ item.diagnostic }} &
+ {{ item.account_section }} &
{{ item.row }} &
{\tiny {{ item.timestamp }} } \\ \hline
{% endfor %}
diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c
index 75bd83e5..7a44417d 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 ==
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: report affected account,
gnunet <=