summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-orders-ID.c3
1 files changed, 2 insertions, 1 deletions
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;
{