diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c b/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c index da4064d7..b018b282 100644 --- a/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c +++ b/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c @@ -71,7 +71,7 @@ struct ExchangeKycRequest /** * Hash of the wire account (with salt) we are checking. */ - struct GNUNET_HashCode h_wire; + struct TALER_MerchantWireHash h_wire; /** * Handle for the actual HTTP request to the exchange. @@ -179,7 +179,7 @@ struct KycContext * Set to the h_wire of the merchant account if * @a have_h_wire is true, used to filter by account. */ - struct GNUNET_HashCode h_wire; + struct TALER_MerchantWireHash h_wire; /** * How long are we willing to wait for the exchange(s)? @@ -523,12 +523,11 @@ kyc_with_exchange (void *cls, { struct ExchangeKycRequest *ekr = cls; struct KycContext *kc = ekr->kc; - struct GNUNET_HashCode h_payto; + struct TALER_PaytoHash h_payto; ekr->fo = NULL; - GNUNET_CRYPTO_hash (ekr->payto_uri, - strlen (ekr->payto_uri), - &h_payto); + TALER_payto_hash (ekr->payto_uri, + &h_payto); ekr->kyc = TALER_EXCHANGE_kyc_check (eh, ekr->exchange_kyc_serial, &h_payto, @@ -552,7 +551,7 @@ kyc_with_exchange (void *cls, */ static void kyc_status_cb (void *cls, - const struct GNUNET_HashCode *h_wire, + const struct TALER_MerchantWireHash *h_wire, uint64_t exchange_kyc_serial, const char *payto_uri, const char *exchange_url, |