aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-08-24 18:01:02 +0200
committerChristian Grothoff <christian@grothoff.org>2024-08-24 18:01:11 +0200
commit310f474e18343f767f9d12e27ff12f47b77801fc (patch)
tree6dfd5d4ef55f3717361632b831665d47621c8246
parente2d140615aabeb35c15a8f8be16707c7741c6692 (diff)
fix test regressions
-rw-r--r--src/exchange/taler-exchange-httpd_kyc-upload.c11
1 files 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
index 500c35101..4724da95e 100644
--- 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);