exchange

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

commit 16edf591fb5c6d5ab38da3f6dd51bbf63bb8b87b
parent b087c4c7c06441d24bd088f5d31fc9b556487c18
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  8 Apr 2025 00:12:38 +0200

fix assertion failure on serialization error in auditor

Diffstat:
Msrc/auditor/taler-helper-auditor-wire-credit.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/auditor/taler-helper-auditor-wire-credit.c b/src/auditor/taler-helper-auditor-wire-credit.c @@ -336,15 +336,15 @@ rollback_and_reset (void) GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Serialization issue, trying again\n"); TALER_ARL_adb->rollback (TALER_ARL_adb->cls); - GNUNET_CONTAINER_multihashmap_iterate (in_map, - &free_rii, - NULL); - GNUNET_CONTAINER_multihashmap_destroy (in_map); - in_map = NULL; for (unsigned int max_retries = 3; max_retries>0; max_retries--) { enum GNUNET_DB_QueryStatus qs; + GNUNET_CONTAINER_multihashmap_iterate (in_map, + &free_rii, + NULL); + GNUNET_CONTAINER_multihashmap_destroy (in_map); + in_map = NULL; qs = begin_transaction (); if (GNUNET_DB_STATUS_HARD_ERROR == qs) break;