exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

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

latest_row_off is exclusive, remove bad comment

Diffstat:
Msrc/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 @@ -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);