commit 1218621cdeaa505377938ac8cb8b0b5149508b0f
parent ce56e46e30e9f65ce60042d4b8df1e95ff0cfd24
Author: bohdan-potuzhnyi <bohdan.potuzhnyi@gmail.com>
Date: Tue, 11 Mar 2025 11:58:01 +0100
small adjustment of if
Diffstat:
1 file changed, 1 insertion(+), 2 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
@@ -3015,10 +3015,9 @@ phase_validate_tokens (struct PayContext *pc)
// FIXME: check donau outputs are good choices
// (allowed donau, total amount below max, correct year, ...)
- // change 'if' to switch...
switch(output->type){
case TALER_MERCHANT_CONTRACT_OUTPUT_TYPE_TOKEN:
- if (GNUNET_NO ==
+ if (GNUNET_OK !=
handle_output_validate_token (pc,
output,
i))