diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-08-24 18:01:02 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-08-24 18:01:11 +0200 |
commit | 310f474e18343f767f9d12e27ff12f47b77801fc (patch) | |
tree | 6dfd5d4ef55f3717361632b831665d47621c8246 | |
parent | e2d140615aabeb35c15a8f8be16707c7741c6692 (diff) |
fix test regressions
-rw-r--r-- | src/exchange/taler-exchange-httpd_kyc-upload.c | 11 |
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); |