From 85a9ee6a1d271acf29c24fba28eaa483cdb088da Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 29 Oct 2019 11:32:44 +0100 Subject: [PATCH] fix report generation --- contrib/auditor-report.tex.j2 | 9 ++++----- 1 file 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 %}