auditor fixes
This commit is contained in:
parent
96543f62ef
commit
4dc8092f83
@ -725,14 +725,14 @@ account.
|
|||||||
{\bf All incoming wire transfer sender accounts matched up.}
|
{\bf All incoming wire transfer sender accounts matched up.}
|
||||||
{% else %}
|
{% else %}
|
||||||
\begin{longtable}{p{8.5cm}|r}
|
\begin{longtable}{p{8.5cm}|r}
|
||||||
{\bf Wire transfer identifier} & {\bf Amount} \\
|
{\bf Reserve Public Key} & {\bf Amount} \\
|
||||||
\hline \hline
|
\hline \hline
|
||||||
\endfirsthead
|
\endfirsthead
|
||||||
{\bf Wire transfer identifier} & {\bf Amount} \\
|
{\bf Reserve Public Key} & {\bf Amount} \\
|
||||||
\hline \hline
|
\hline \hline
|
||||||
\endhead
|
\endhead
|
||||||
\hline \hline
|
\hline \hline
|
||||||
{\bf Wire transfer identifier} & {\bf Amount} \\
|
{\bf Reserve Public Key} & {\bf Amount} \\
|
||||||
\endfoot
|
\endfoot
|
||||||
\hline
|
\hline
|
||||||
{\bf Total amount} &
|
{\bf Total amount} &
|
||||||
@ -741,7 +741,7 @@ account.
|
|||||||
\label{table:wire_in:sender_account_inconsistencies}
|
\label{table:wire_in:sender_account_inconsistencies}
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
{% for item in wire.missattribution_in_inconsistencies %}
|
{% for item in wire.missattribution_in_inconsistencies %}
|
||||||
{\tt \small \truncate{8.3cm}{ {{ item.wtid }} } } &
|
{\tt \small \truncate{8.3cm}{ {{ item.reserve_pub }} } } &
|
||||||
{{ item.amount }} \\ \hline
|
{{ item.amount }} \\ \hline
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
\end{longtable}
|
\end{longtable}
|
||||||
|
@ -585,7 +585,7 @@ if test "x$DIAG" != "xwire subject does not match"
|
|||||||
then
|
then
|
||||||
exit_fail "Diagnostic wrong: $DIAG (0)"
|
exit_fail "Diagnostic wrong: $DIAG (0)"
|
||||||
fi
|
fi
|
||||||
WTID=`jq -r .reserve_in_amount_inconsistencies[0].wtid < test-wire-audit.json`
|
WTID=`jq -r .reserve_in_amount_inconsistencies[0].reserve_pub < test-wire-audit.json`
|
||||||
if test x$WTID != x"$OLD_WTID" -a x$WTID != x"$NEW_WTID"
|
if test x$WTID != x"$OLD_WTID" -a x$WTID != x"$NEW_WTID"
|
||||||
then
|
then
|
||||||
exit_fail "WTID reported wrong: $WTID"
|
exit_fail "WTID reported wrong: $WTID"
|
||||||
@ -604,10 +604,10 @@ if test "x$DIAG" != "xwire subject does not match"
|
|||||||
then
|
then
|
||||||
exit_fail "Diagnostic wrong: $DIAG (1)"
|
exit_fail "Diagnostic wrong: $DIAG (1)"
|
||||||
fi
|
fi
|
||||||
WTID=`jq -r .reserve_in_amount_inconsistencies[1].wtid < test-wire-audit.json`
|
WTID=`jq -r .reserve_in_amount_inconsistencies[1].reserve_pub < test-wire-audit.json`
|
||||||
if test $WTID != "$OLD_WTID" -a $WTID != "$NEW_WTID"
|
if test $WTID != "$OLD_WTID" -a $WTID != "$NEW_WTID"
|
||||||
then
|
then
|
||||||
exit_fail "WTID reported wrong: $WTID"
|
exit_fail "WTID reported wrong: $WTID (wanted: $NEW_WTID or $OLD_WTID)"
|
||||||
fi
|
fi
|
||||||
EX_A=`jq -r .reserve_in_amount_inconsistencies[1].amount_exchange_expected < test-wire-audit.json`
|
EX_A=`jq -r .reserve_in_amount_inconsistencies[1].amount_exchange_expected < test-wire-audit.json`
|
||||||
if test $WTID = "$OLD_WTID" -a $EX_A != "TESTKUDOS:10"
|
if test $WTID = "$OLD_WTID" -a $EX_A != "TESTKUDOS:10"
|
||||||
|
Loading…
Reference in New Issue
Block a user