summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-29 11:32:44 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-29 11:32:44 +0100
commit85a9ee6a1d271acf29c24fba28eaa483cdb088da (patch)
tree4647514f7bfae1fd0593536994a7ce01a883f475 /contrib
parent5ddbdfe91b3c4c17d4d624925e93eee243f64a99 (diff)
downloadexchange-85a9ee6a1d271acf29c24fba28eaa483cdb088da.tar.gz
exchange-85a9ee6a1d271acf29c24fba28eaa483cdb088da.tar.bz2
exchange-85a9ee6a1d271acf29c24fba28eaa483cdb088da.zip
fix report generation
Diffstat (limited to 'contrib')
-rw-r--r--contrib/auditor-report.tex.j29
1 files changed, 4 insertions, 5 deletions
diff --git a/contrib/auditor-report.tex.j2 b/contrib/auditor-report.tex.j2
index 2830a6bc2..e26d562e0 100644
--- a/contrib/auditor-report.tex.j2
+++ b/contrib/auditor-report.tex.j2
@@ -218,7 +218,7 @@ and should be answered by revoking the exchange's online siging keys.
% FIXME: reference PhD thesis?
The total amount the exchange currently lags behind is
-{\bf {{ data.missing_deposit_confirmation_total }} } or
+{\bf {{ data.missing_deposit_confirmation_total }} } from a total number of
{\bf {{ data.missing_deposit_confirmation_count }} } deposit confirmations.
Note that some lag is perfectly normal.
@@ -229,7 +229,7 @@ Below, we report {\em all} deposit confirmations that are lagging behind.
{% if data.deposit_confirmation_inconsistencies|length() == 0 %}
{\bf No deposit confirmations that are lagging behind detected.}
{% else %}
- \begin{longtable}{p{1.5cm}|r|c|r}
+ \begin{longtable}{r|r|r}
{\bf Timestamp} & {\bf Amount} & {\bf Row} \\
\multicolumn{3}{l}{\bf Target account} \\ \hline \hline
\endfirsthead
@@ -247,12 +247,11 @@ Below, we report {\em all} deposit confirmations that are lagging behind.
\label{table:missing_dc}
\endlastfoot
{% for item in data.deposit_confirmation_inconsistencies %}
- &
{{ item.timestamp }} &
{{ item.amount }} &
- {{ item.row }} \\
+ {{ item.rowid }} \\
\nopagebreak
- \multicolumn{3}{l}{ {\tt {{ item.account }} } } \\ \hline
+ \multicolumn{3}{l}{ {\tt \truncate{0.95\textwidth}{ {{ item.account }} } } } \\ \hline
{% endfor %}
\end{longtable}
{% endif %}