gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix start time


From: gnunet
Subject: [taler-exchange] branch master updated: fix start time
Date: Sat, 07 Dec 2019 21:59:07 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 0d53d893 fix start time
0d53d893 is described below

commit 0d53d893f5c7b279e69320ee60a3459e8b464d4d
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Dec 7 21:59:05 2019 +0100

    fix start time
---
 contrib/auditor-report.tex.j2    | 8 +++++---
 src/auditor/taler-wire-auditor.c | 1 +
 src/auditor/test-auditor.sh      | 2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/contrib/auditor-report.tex.j2 b/contrib/auditor-report.tex.j2
index 6985bfcd..76d9e465 100644
--- a/contrib/auditor-report.tex.j2
+++ b/contrib/auditor-report.tex.j2
@@ -111,20 +111,22 @@ In that time, the auditor processed NO accounts at all.
 In that time, the auditor processed the following table ranges:
 \begin{center}
 \begin{longtable}{l|c|r|r}
-  Account & Table         & Start    & End \\ \hline \hline
+  Account & Table         & Start    & End \\ \hline
 \endfirsthead
-  Account & Table         & Start    & End \\ \hline \hline
+  Account & Table         & Start    & End \\ \hline
 \endhead
 \endfoot
   \caption{Range of account data processed by the wire auditor.}
   \label{table:account_range}
 \endlastfoot
 {% for item in wire.account_progress %}
+  \hline
   {{ item.account }} &
   Reserves Incoming       & {{ item.start_reserve_in }}
                           & {{ item.end_reserve_in }} \\ \hline
+  &
   Outgoing wire transfers & {{ item.start_wire_out }}
-                          & {{ item.end_wire_out }} \\ \hline
+                          & {{ item.end_wire_out }} \\
 {% endfor %}
 \end{longtable}
 {% endif %}
diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c
index 544f1277..e66834a1 100644
--- a/src/auditor/taler-wire-auditor.c
+++ b/src/auditor/taler-wire-auditor.c
@@ -2145,6 +2145,7 @@ run (void *cls,
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Launching auditor\n");
+  start_time = GNUNET_TIME_absolute_get ();
   cfg = c;
   if (GNUNET_OK !=
       GNUNET_CONFIGURATION_get_value_string (cfg,
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 1883a9ec..c5653a62 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -162,7 +162,7 @@ jq -e .wire_format_inconsistencies[0] < 
test-wire-audit.json > /dev/null && exit
 echo PASS
 
 LOSS=`jq -r .total_bad_sig_loss < test-audit.json`
-if test $LOSS != "TESTKUDOS:0.0"
+if test $LOSS != "TESTKUDOS:0"
 then
     exit_fail "Wrong total bad sig loss, got unexpected loss of $LOSS"
 fi

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



reply via email to

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