aboutsummaryrefslogtreecommitdiff
path: root/contrib/auditor-report.tex.j2
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-05 15:12:11 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-05 15:12:47 +0200
commit52bbfe926be03f66d57d15743e9914bc4e201c8c (patch)
tree9e3befbd9a81d250eaeb06655ddc9ec539a561ca /contrib/auditor-report.tex.j2
parent041ba85c6a78621f8c639482b26b0328b21cc442 (diff)
add uncrustify pre-commit hook
Diffstat (limited to 'contrib/auditor-report.tex.j2')
-rw-r--r--contrib/auditor-report.tex.j29
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/auditor-report.tex.j2 b/contrib/auditor-report.tex.j2
index 33aab79cf..7694ccea8 100644
--- a/contrib/auditor-report.tex.j2
+++ b/contrib/auditor-report.tex.j2
@@ -93,7 +93,7 @@ This section analyzes the income of the exchange operator from fees.
Deposit fees & {{ data.total_deposit_fee_income }} \\
Melt fees & {{ data.total_melt_fee_income }} \\
Refund fees & {{ data.total_refund_fee_income }} \\
- Aggregation fees & {{ data.total_aggregation_fee_income }} \\
+ Aggregation fees & {{ data.total_aggregation_fee_income }} \\ \hline \hline
{\bf Total} & {{ data.income_fee_total }} \\
\end{tabular}
\end{center}
@@ -845,7 +845,7 @@ impact.
{% if data.row_inconsistencies|length() == 0 %}
{\bf No row inconsistencies found.}
{% else %}
- \begin{longtable}{p{2.5cm}|l|p{7cm}}
+ \begin{longtable}{p{2.5cm}|l|p{5cm}}
{\bf Table} & {\bf Row} & {\bf Diagnostic} \\
\hline \hline
\endfirsthead
@@ -881,11 +881,12 @@ This section describes cases where the exchange did not
close a reserve and wire back the remaining funds when the
reserve expired.
+% Table generation tested by testcase #21 in test-auditor.sh
{% if data.reserve_not_closed_inconsistencies|length() == 0 %}
{\bf All expired reserves were closed.}
{% else %}
- \begin{longtable}{p{5.5cm}|c|r}
+ \begin{longtable}{p{4.5cm}|c|r}
{\bf Reserve} & {\bf Expired} & {\bf Balance} \\ \hline \hline
\endfirsthead
{\bf Reserve} & {\bf Expired} & {\bf Balance} \\ \hline \hline
@@ -900,7 +901,7 @@ reserve expired.
\label{table:reserve:not_closed}
\endlastfoot
{% for item in data.reserve_not_closed_inconsistencies %}
- {\tt \tiny {{ item.reserve_pub }} } &
+ {\tt \tiny \truncate{4.3cm}{ {{ item.reserve_pub }} } } &
{\tiny {{ item.expiration_time }} } &
{{ item.balance }} \\ \hline
{% endfor %}