gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: latest_row_off is exclusive, re


From: gnunet
Subject: [taler-exchange] branch master updated: latest_row_off is exclusive, remove bad comment
Date: Sat, 21 May 2022 01:41:05 +0200

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 9e0df07a latest_row_off is exclusive, remove bad comment
9e0df07a is described below

commit 9e0df07a16f5be870ef8dce24892168e4f966a63
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat May 21 01:41:02 2022 +0200

    latest_row_off is exclusive, remove bad comment
---
 src/exchange/taler-exchange-wirewatch.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-wirewatch.c 
b/src/exchange/taler-exchange-wirewatch.c
index 8e453830..24f92efa 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -578,7 +578,6 @@ history_cb (void *cls,
   }
   if (serial_id < wa->latest_row_off)
   {
-    /* we are done with the current shard, commit and stop this iteration! */
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 "Serial ID %llu not monotonic (got %llu before). Failing!\n",
                 (unsigned long long) serial_id,
@@ -601,7 +600,7 @@ history_cb (void *cls,
                 "Serial ID %llu past shard end at %llu, ending iteration 
early!\n",
                 (unsigned long long) serial_id,
                 (unsigned long long) wa->shard_end);
-    wa->latest_row_off = serial_id - 1;
+    wa->latest_row_off = serial_id;
     if (wa->started_transaction)
     {
       do_commit (wa);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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