aboutsummaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_get_kyc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_get_kyc.c')
-rw-r--r--src/lib/merchant_api_get_kyc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/merchant_api_get_kyc.c b/src/lib/merchant_api_get_kyc.c
index 0c9f610b..2a2ab8e2 100644
--- a/src/lib/merchant_api_get_kyc.c
+++ b/src/lib/merchant_api_get_kyc.c
@@ -136,7 +136,7 @@ parse_kyc (struct TALER_MERCHANT_KycGetHandle *kyc,
GNUNET_NZL (num_kycs)];
struct TALER_EXCHANGE_AccountLimit limits[
GNUNET_NZL (num_limits)];
- const char *payto_kycauths[
+ struct TALER_FullPayto payto_kycauths[
GNUNET_NZL (num_kycauths)];
memset (kycs,
@@ -150,7 +150,7 @@ parse_kyc (struct TALER_MERCHANT_KycGetHandle *kyc,
const json_t *jkycauths = NULL;
uint32_t hs;
struct GNUNET_JSON_Specification spec[] = {
- TALER_JSON_spec_payto_uri (
+ TALER_JSON_spec_full_payto_uri (
"payto_uri",
&rd->payto_uri),
TALER_JSON_spec_web_url (
@@ -250,9 +250,9 @@ parse_kyc (struct TALER_MERCHANT_KycGetHandle *kyc,
json_array_foreach (jkycauths, j, jkycauth)
{
GNUNET_assert (pos_kycauths < num_kycauths);
- payto_kycauths[pos_kycauths]
- = json_string_value (jkycauth);
- if (NULL == payto_kycauths[pos_kycauths])
+ payto_kycauths[pos_kycauths].full_payto
+ = (char *) json_string_value (jkycauth);
+ if (NULL == payto_kycauths[pos_kycauths].full_payto)
{
GNUNET_break (0);
json_dumpf (json_array_get (jkyc,