summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/exchange/taler-exchange-wirewatch.c3
1 files changed, 1 insertions, 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);