gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] 03/04: increment recoup progress points


From: gnunet
Subject: [taler-exchange] 03/04: increment recoup progress points
Date: Thu, 26 Mar 2020 20:07:29 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

commit 51bdfab93565856473c2df9d654c45693adaf5d3
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Mar 26 20:06:58 2020 +0100

    increment recoup progress points
---
 src/auditor/taler-helper-auditor-coins.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/auditor/taler-helper-auditor-coins.c 
b/src/auditor/taler-helper-auditor-coins.c
index 375c901e..33591cec 100644
--- a/src/auditor/taler-helper-auditor-coins.c
+++ b/src/auditor/taler-helper-auditor-coins.c
@@ -1821,6 +1821,8 @@ recoup_cb (void *cls,
 {
   struct CoinContext *cc = cls;
 
+  GNUNET_assert (rowid >= ppc.last_recoup_serial_id); /* should be 
monotonically increasing */
+  ppc.last_recoup_serial_id = rowid + 1;
   (void) timestamp;
   (void) reserve_pub;
   return check_recoup (cc,
@@ -1861,6 +1863,8 @@ recoup_refresh_cb (void *cls,
 {
   struct CoinContext *cc = cls;
 
+  GNUNET_assert (rowid >= ppc.last_recoup_refresh_serial_id); /* should be 
monotonically increasing */
+  ppc.last_recoup_refresh_serial_id = rowid + 1;
   (void) timestamp;
   (void) old_coin_pub;
   return check_recoup (cc,

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



reply via email to

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