summaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-11-17 15:15:13 +0100
committerChristian Grothoff <christian@grothoff.org>2016-11-17 15:15:13 +0100
commit2859dbe5e32091908eb093a1f750df7fb6761b5f (patch)
tree1a3eb26010a2018e61680c05e02705d34ead5746 /src/auditor
parente216d9e22da38cf816b87189a340b52f779a9ac9 (diff)
downloadexchange-2859dbe5e32091908eb093a1f750df7fb6761b5f.tar.gz
exchange-2859dbe5e32091908eb093a1f750df7fb6761b5f.tar.bz2
exchange-2859dbe5e32091908eb093a1f750df7fb6761b5f.zip
increments of more than 1 do happen
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/taler-auditor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index a8ef0919a..7e26fab1d 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -112,7 +112,7 @@ handle_reserve_in (void *cls,
matches wire transfers from the bank. Not sure if this should be
done within the core auditor logic though... */
- GNUNET_assert (rowid == reserve_in_serial_id); /* should be monotonically increasing */
+ GNUNET_assert (rowid >= reserve_in_serial_id); /* should be monotonically increasing */
reserve_in_serial_id = rowid + 1;
GNUNET_CRYPTO_hash (reserve_pub,
sizeof (*reserve_pub),
@@ -173,7 +173,7 @@ handle_reserve_out (void *cls,
struct ReserveSummary *rs;
/* TODO: check signatures, in particluar the reserve_sig! */
- GNUNET_assert (rowid == reserve_out_serial_id); /* should be monotonically increasing */
+ GNUNET_assert (rowid >= reserve_out_serial_id); /* should be monotonically increasing */
reserve_out_serial_id = rowid + 1;
GNUNET_CRYPTO_hash (reserve_pub,
sizeof (*reserve_pub),