check total loss initially
This commit is contained in:
parent
e153215f7e
commit
b164e090dc
@ -631,7 +631,7 @@ public key for ``payback-master'' operations.
|
|||||||
\label{table:bad_signature_losses}
|
\label{table:bad_signature_losses}
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
{% for item in data.bad_sig_losses %}
|
{% for item in data.bad_sig_losses %}
|
||||||
\multicolumn{3}{l}{ {\tt \small {{ item.key_pub }} } } \\
|
\multicolumn{3}{l}{ {\tt \small \truncate{0.9\textwidth}{ {{ item.key_pub }} } } } \\
|
||||||
\nopagebreak
|
\nopagebreak
|
||||||
{{ item.operation }} &
|
{{ item.operation }} &
|
||||||
{{ item.row }} &
|
{{ item.row }} &
|
||||||
|
@ -157,6 +157,12 @@ jq -e .wire_format_inconsistencies[0] < test-wire-audit.json > /dev/null && exit
|
|||||||
|
|
||||||
echo PASS
|
echo PASS
|
||||||
|
|
||||||
|
LOSS=`jq -r .total_bad_sig_loss < test-audit.json`
|
||||||
|
if test $LOSS != "TESTKUDOS:0.0"
|
||||||
|
then
|
||||||
|
exit_fail "Wrong total bad sig loss, got unexpected loss of $LOSS"
|
||||||
|
fi
|
||||||
|
|
||||||
echo -n "Test for wire amounts... "
|
echo -n "Test for wire amounts... "
|
||||||
WIRED=`jq -r .total_wire_in_delta_plus < test-wire-audit.json`
|
WIRED=`jq -r .total_wire_in_delta_plus < test-wire-audit.json`
|
||||||
if test $WIRED != "TESTKUDOS:0"
|
if test $WIRED != "TESTKUDOS:0"
|
||||||
|
Loading…
Reference in New Issue
Block a user