merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit d0ab8d8fcd6a5eb5528900534c23f1c7a060f359
parent ac1461a3ec60fbaa0b2b95bd4613f655620fcd39
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 13 Feb 2025 17:47:42 +0100

-fix fun concurrency case

Diffstat:
Msrc/backend/taler-merchant-httpd_private-get-orders.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-get-orders.c b/src/backend/taler-merchant-httpd_private-get-orders.c @@ -331,10 +331,8 @@ add_order (void *cls, paid = false; if (NULL == orig_order_id) { - /* cannot be via DB trigger, and the other code - path should have passed an orig_order_id */ - GNUNET_break (0); - po->result = TALER_EC_GENERIC_DB_FETCH_FAILED; + /* Got a DB trigger about a new proposal, but it + was already deleted again. Just ignore the event. */ return; } order_id = GNUNET_strdup (orig_order_id);