diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-05-09 08:38:23 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-05-09 08:38:31 +0200 |
commit | 79801d5d3a192484ca09a49a7e171211109647bf (patch) | |
tree | fdd7785dbc295824107ac566d12b0c3decab611a /src | |
parent | 407fd7eb725ce58515c5feab2a61ed4adb596e80 (diff) |
-fix assertion
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-get-orders.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-orders.c b/src/backend/taler-merchant-httpd_private-get-orders.c index 04fd8bbd..e6f615ea 100644 --- a/src/backend/taler-merchant-httpd_private-get-orders.c +++ b/src/backend/taler-merchant-httpd_private-get-orders.c @@ -323,7 +323,8 @@ add_order (void *cls, &contract_terms, &os, NULL); - GNUNET_break (os == order_serial); + if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT == qs) + GNUNET_break (os == order_serial); } if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs) { |