gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] 02/02: auditor fixes


From: gnunet
Subject: [taler-exchange] 02/02: auditor fixes
Date: Fri, 17 Jan 2020 23:27:46 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

commit 4dc8092f83f5d54d1804a920cdb1863cc71c8d2b
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Jan 17 23:27:40 2020 +0100

    auditor fixes
---
 contrib/auditor-report.tex.j2 | 8 ++++----
 src/auditor/test-auditor.sh   | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/contrib/auditor-report.tex.j2 b/contrib/auditor-report.tex.j2
index cdcbc067..e3db565e 100644
--- a/contrib/auditor-report.tex.j2
+++ b/contrib/auditor-report.tex.j2
@@ -725,14 +725,14 @@ account.
   {\bf All incoming wire transfer sender accounts matched up.}
 {% else %}
   \begin{longtable}{p{8.5cm}|r}
-  {\bf Wire transfer identifier} & {\bf Amount} \\
+  {\bf Reserve Public Key} & {\bf Amount} \\
   \hline \hline
 \endfirsthead
-  {\bf Wire transfer identifier} & {\bf Amount} \\
+  {\bf Reserve Public Key} & {\bf Amount} \\
   \hline \hline
 \endhead
   \hline \hline
-  {\bf Wire transfer identifier} & {\bf Amount} \\
+  {\bf Reserve Public Key} & {\bf Amount} \\
 \endfoot
   \hline
   {\bf Total amount}  &
@@ -741,7 +741,7 @@ account.
   \label{table:wire_in:sender_account_inconsistencies}
 \endlastfoot
 {% 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
 {% endfor %}
   \end{longtable}
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index f10718ee..8b1159b4 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -585,7 +585,7 @@ if test "x$DIAG" != "xwire subject does not match"
 then
     exit_fail "Diagnostic wrong: $DIAG (0)"
 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"
 then
     exit_fail "WTID reported wrong: $WTID"
@@ -604,10 +604,10 @@ if test "x$DIAG" != "xwire subject does not match"
 then
     exit_fail "Diagnostic wrong: $DIAG (1)"
 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"
 then
-    exit_fail "WTID reported wrong: $WTID"
+    exit_fail "WTID reported wrong: $WTID (wanted: $NEW_WTID or $OLD_WTID)"
 fi
 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"

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]