commit 802ed1e0b2f2a1ab83f57b9352cc195dc321454f
parent ab8f77c785e428139ac7bd7f3375fa4379f607b0
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 31 Aug 2025 01:03:32 +0200
resume /keys requests not only on notification but also on successful keys response construction
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
@@ -628,7 +628,7 @@ wire_update_event_cb (void *cls,
/**
* Add information about a wire account to @a cls.
*
- * @param cls a `json_t *` object to expand with wire account details
+ * @param cls a `json_t *` array to expand with wire account details
* @param payto_uri the exchange bank account URI to add
* @param conversion_url URL of a conversion service, NULL if there is no conversion
* @param debit_restrictions JSON array with debit restrictions on the account
@@ -811,8 +811,9 @@ build_wire_state (void)
return wsh;
}
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Built wire data with %u accounts\n",
- (unsigned int) json_array_size (wire_accounts_array));
+ "Built wire data with %u accounts (%d)\n",
+ (unsigned int) json_array_size (wire_accounts_array),
+ (int) qs);
wire_fee_object = json_object ();
GNUNET_assert (NULL != wire_fee_object);
wsh->cache_expiration = GNUNET_TIME_UNIT_FOREVER_ABS;
@@ -3313,7 +3314,7 @@ build_key_state (bool management_only)
destroy_key_state (ksh);
return NULL;
}
-
+ TEH_resume_keys_requests (false);
return ksh;
}