commit 196b0250d6c0be206659adc75ab79c6b29d12c27 parent 718a176c51688dcc86ee3fa61a33d57795b744e3 Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 23 Sep 2025 22:02:02 +0200 handle empty bpks array Diffstat:
| M | src/backend/taler-merchant-httpd_post-orders-ID-pay.c | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -3663,9 +3663,10 @@ phase_validate_tokens (struct PayContext *pc) wallet didn't want donau, so OK! */ return; #else - if (GNUNET_OK != - handle_output_donation_receipt (pc, - output)) + if ( (0 != pc->parse_wallet_data.num_bkps) && + (GNUNET_OK != + handle_output_donation_receipt (pc, + output)) ) { /* Error is already scheduled from handle_output_donation_receipt. */ return;