report affected account

This commit is contained in:
Christian Grothoff 2020-01-17 15:09:28 +01:00
parent b654a3debf
commit 263d36f7a5
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 7 additions and 6 deletions

View File

@ -766,16 +766,16 @@ with respect to outgoing wire transfers.
{% else %} {% else %}
\begin{longtable}{p{5.5cm}|r|r} \begin{longtable}{p{5.5cm}|r|r}
{\bf Wire transfer identifier} & {\bf Wired} & {\bf Justified} \\ {\bf Wire transfer identifier} & {\bf Wired} & {\bf Justified} \\
{\bf Diagnostic} & {\bf Row} & {\bf Timestamp} \\ {\bf Account} & {\bf Row} & {\bf Timestamp} \\
\hline \hline \hline \hline
\endfirsthead \endfirsthead
{\bf Wire transfer identifier} & {\bf Wired} & {\bf Justified} \\ {\bf Wire transfer identifier} & {\bf Wired} & {\bf Justified} \\
{\bf Diagnostic} & {\bf Row} & {\bf Timestamp} \\ {\bf Account} & {\bf Row} & {\bf Timestamp} \\
\hline \hline \hline \hline
\endhead \endhead
\hline \hline \hline \hline
{\bf Wire transfer identifier} & {\bf Wired} & {\bf Justified} \\ {\bf Wire transfer identifier} & {\bf Wired} & {\bf Justified} \\
{\bf Diagnostic} & {\bf Row} & {\bf Timestamp} \\ {\bf Account} & {\bf Row} & {\bf Timestamp} \\
\endfoot \endfoot
\hline \hline
{\bf Total deltas} & {\bf Total deltas} &
@ -789,7 +789,7 @@ with respect to outgoing wire transfers.
{{ item.amount_wired }} & {{ item.amount_wired }} &
{{ item.amount_justified }} \\ {{ item.amount_justified }} \\
\nopagebreak \nopagebreak
{{ item.diagnostic }} & {{ item.account_section }} &
{{ item.row }} & {{ item.row }} &
{\tiny {{ item.timestamp }} } \\ \hline {\tiny {{ item.timestamp }} } \\ \hline
{% endfor %} {% endfor %}

View File

@ -1253,7 +1253,6 @@ complain_out_not_found (void *cls,
.found = GNUNET_NO .found = GNUNET_NO
}; };
(void) wa; // FIXME: log which account is affected...
hash_rc (roi->details.credit_account_url, hash_rc (roi->details.credit_account_url,
&roi->details.wtid, &roi->details.wtid,
&rkey); &rkey);
@ -1264,7 +1263,7 @@ complain_out_not_found (void *cls,
if (GNUNET_YES == ctx.found) if (GNUNET_YES == ctx.found)
return GNUNET_OK; return GNUNET_OK;
report (report_wire_out_inconsistencies, 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, "row", (json_int_t) 0,
"amount_wired", TALER_JSON_from_amount ( "amount_wired", TALER_JSON_from_amount (
&roi->details.amount), &roi->details.amount),
@ -1272,6 +1271,8 @@ complain_out_not_found (void *cls,
"wtid", GNUNET_JSON_from_data_auto (&roi->details.wtid), "wtid", GNUNET_JSON_from_data_auto (&roi->details.wtid),
"timestamp", json_from_time_abs ( "timestamp", json_from_time_abs (
roi->details.execution_date), roi->details.execution_date),
"account_section",
wa->section_name,
"diagnostic", "diagnostic",
"justification for wire transfer not found")); "justification for wire transfer not found"));
GNUNET_break (GNUNET_OK == GNUNET_break (GNUNET_OK ==