summaryrefslogtreecommitdiff
path: root/src/kyclogic
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-08-16 13:56:04 +0200
committerChristian Grothoff <christian@grothoff.org>2022-08-16 13:57:26 +0200
commitd6f12190c0d953dd3090153a45ecdd10f01cd9c3 (patch)
tree722a7e55f34c6b457cad213464ca8a9372044db3 /src/kyclogic
parent1e2fdea5a977a9fdbb7bcc0632d9fb1c8ef82987 (diff)
downloadexchange-d6f12190c0d953dd3090153a45ecdd10f01cd9c3.tar.gz
exchange-d6f12190c0d953dd3090153a45ecdd10f01cd9c3.tar.bz2
exchange-d6f12190c0d953dd3090153a45ecdd10f01cd9c3.zip
-move templating library into exchange.git
Diffstat (limited to 'src/kyclogic')
-rw-r--r--src/kyclogic/taler-exchange-kyc-tester.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kyclogic/taler-exchange-kyc-tester.c b/src/kyclogic/taler-exchange-kyc-tester.c
index 9133b68c9..9d75b3ec8 100644
--- a/src/kyclogic/taler-exchange-kyc-tester.c
+++ b/src/kyclogic/taler-exchange-kyc-tester.c
@@ -494,6 +494,7 @@ clean_kwh (struct TEKT_RequestContext *rc)
* @param provider_section
* @param provider_legitimization_id legi to look up
* @param[out] h_payto where to write the result
+ * @param[out] legi_row where to write the row ID for the legitimization ID
* @return database transaction status
*/
static enum GNUNET_DB_QueryStatus
@@ -501,13 +502,15 @@ kyc_provider_account_lookup (
void *cls,
const char *provider_section,
const char *provider_legitimization_id,
- struct TALER_PaytoHashP *h_payto)
+ struct TALER_PaytoHashP *h_payto,
+ uint64_t *legi_row)
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Simulated account lookup using `%s/%s'\n",
provider_section,
provider_legitimization_id);
*h_payto = cmd_line_h_payto;
+ *legi_row = kyc_row_id;
return GNUNET_DB_STATUS_SUCCESS_ONE_RESULT;
}