[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: -add assertions
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: -add assertions |
Date: |
Sat, 13 Jan 2024 23:08:26 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 47618454 -add assertions
47618454 is described below
commit 4761845471b9df042bc9823197a26c6851a6b302
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Jan 13 23:08:22 2024 +0100
-add assertions
---
src/backend/taler-merchant-httpd_private-get-orders-ID.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_private-get-orders-ID.c
b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
index fb8b9dd5..a5d89f86 100644
--- a/src/backend/taler-merchant-httpd_private-get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
@@ -375,7 +375,6 @@ struct GetOrderRequestContext
*/
bool order_only;
-
/**
* Set to true if this payment has been refunded and
* some refunds remain to be picked up by the wallet.
@@ -628,6 +627,8 @@ phase_fetch_contract (struct GetOrderRequestContext *gorc)
gorc->phase++;
return;
}
+ GNUNET_assert (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs);
+ GNUNET_assert (! gorc->paid);
/* No contract, only order, fetch from orders table */
gorc->order_only = true;
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-merchant] branch master updated: -add assertions,
gnunet <=