[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: check invariant that refund dead
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: check invariant that refund deadline should not be after wire deadline |
Date: |
Tue, 14 Jul 2020 21:09:24 +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 62d5aae1 check invariant that refund deadline should not be after wire
deadline
62d5aae1 is described below
commit 62d5aae1198e7e8374470539e19a112593fb0b2b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jul 14 21:08:33 2020 +0200
check invariant that refund deadline should not be after wire deadline
---
src/auditor/taler-helper-auditor-coins.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/auditor/taler-helper-auditor-coins.c
b/src/auditor/taler-helper-auditor-coins.c
index b9352177..8b163fd0 100644
--- a/src/auditor/taler-helper-auditor-coins.c
+++ b/src/auditor/taler-helper-auditor-coins.c
@@ -1574,7 +1574,6 @@ deposit_cb (void *cls,
struct DenominationSummary *ds;
enum GNUNET_DB_QueryStatus qs;
- (void) wire_deadline;
(void) done;
GNUNET_assert (rowid >= ppc.last_deposit_serial_id); /* should be
monotonically increasing */
ppc.last_deposit_serial_id = rowid + 1;
@@ -1589,6 +1588,13 @@ deposit_cb (void *cls,
"denomination key not found");
return GNUNET_OK;
}
+ if (refund_deadline.abs_value_us >
+ wire_deadline.abs_value_us)
+ {
+ report_row_inconsistency ("deposits",
+ rowid,
+ "refund deadline past wire deadline");
+ }
if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != qs)
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: check invariant that refund deadline should not be after wire deadline,
gnunet <=