diff options
Diffstat (limited to 'src/testing/testing_api_cmd_kyc_get.c')
-rw-r--r-- | src/testing/testing_api_cmd_kyc_get.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testing/testing_api_cmd_kyc_get.c b/src/testing/testing_api_cmd_kyc_get.c index f58b091d..6fc4d08b 100644 --- a/src/testing/testing_api_cmd_kyc_get.c +++ b/src/testing/testing_api_cmd_kyc_get.c @@ -63,7 +63,7 @@ struct KycGetState * Set to the payto hash of the first account * for which we failed to pass the KYC check. */ - struct TALER_PaytoHashP h_payto; + struct TALER_NormalizedPaytoHashP h_payto; /** * Access token the user needs to start a KYC process. @@ -154,15 +154,15 @@ kyc_get_cb (void *cls, } for (unsigned int i = 0; i<kr->details.ok.kycs_length; i++) { - const char *payto_uri; + struct TALER_FullPayto payto_uri; payto_uri = kr->details.ok.kycs[i].payto_uri; - if (NULL == payto_uri) + if (NULL == payto_uri.full_payto) { continue; } - TALER_payto_hash (payto_uri, - &cs->h_payto); + TALER_full_payto_normalize_and_hash (payto_uri, + &cs->h_payto); if (! kr->details.ok.kycs[i].no_access_token) { cs->access_token @@ -263,7 +263,7 @@ kyc_get_traits (void *cls, /* Must be first, skipped if we have no token! */ TALER_TESTING_make_trait_account_access_token ( &cs->access_token), - TALER_TESTING_make_trait_h_payto ( + TALER_TESTING_make_trait_h_normalized_payto ( &cs->h_payto), TALER_TESTING_trait_end () }; |