commit 310f474e18343f767f9d12e27ff12f47b77801fc
parent e2d140615aabeb35c15a8f8be16707c7741c6692
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 24 Aug 2024 18:01:02 +0200
fix test regressions
Diffstat:
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_kyc-upload.c b/src/exchange/taler-exchange-httpd_kyc-upload.c
@@ -475,6 +475,17 @@ TEH_handler_kyc_upload (
&is_finished,
&enc_attributes_len,
&enc_attributes);
+ /* FIXME: not exactly elegant, should eventually
+ modify lookup_completed_legitimization to
+ return something if we are purely pending? */
+ if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs)
+ qs = TEH_plugin->lookup_pending_legitimization (
+ TEH_plugin->cls,
+ uc->legitimization_measure_serial_id,
+ &uc->access_token,
+ &h_payto,
+ &jmeasures,
+ &is_finished);
if (qs < 0)
{
GNUNET_break (0);