exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 03d4bc2044fdd032cb68702d94d0dde66fd5c4c9
parent 73126db2037973810e4b87661c5cd3d1e9804b73
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 10 Oct 2026 00:20:10 +0200

fix nested batches in testing

Diffstat:
Msrc/testing/testing_api_cmd_batch.c | 9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/testing/testing_api_cmd_batch.c b/src/testing/testing_api_cmd_batch.c @@ -189,14 +189,13 @@ TALER_TESTING_cmd_batch_next (struct TALER_TESTING_Interpreter *is, } if (TALER_TESTING_cmd_is_batch (bcmd)) { - if (TALER_TESTING_cmd_batch_next (is, - bcmd->cls)) + if (! TALER_TESTING_cmd_batch_next (is, + bcmd->cls)) { - /* sub-batch is done */ - bcmd->finish_time = GNUNET_TIME_absolute_get (); - bs->batch_ip++; + /* sub-batch is not done yet, stay on it */ return false; } + /* sub-batch is done */ } /* Simple command is done */ bcmd->finish_time = GNUNET_TIME_absolute_get ();