exchange

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

commit 9c6ecb6e907482e926a78083225c772bfe2efb63
parent 77f99a084760ae7e1cfc42b0a78d904fd17cd41d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 18 Nov 2026 17:21:49 +0100

fix #12191: preserve auditors_size when resuming

Diffstat:
Msrc/lib/exchange_api_get-keys.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/exchange_api_get-keys.c b/src/lib/exchange_api_get-keys.c @@ -321,8 +321,9 @@ keys_completed_cb (void *cls, TALER_denom_pub_copy (&kd->denom_keys[i].key, &kd_old->denom_keys[i].key); kd->num_auditors = kd_old->num_auditors; + kd->auditors_size = kd_old->num_auditors; kd->auditors - = GNUNET_new_array (kd->num_auditors, + = GNUNET_new_array (kd->auditors_size, struct TALER_EXCHANGE_AuditorInformation); /* Now the necessary deep copy... */ for (unsigned int i = 0; i<kd_old->num_auditors; i++)