aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_kyc_wallet_get.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-11-03 08:09:18 +0100
committerChristian Grothoff <christian@grothoff.org>2024-11-05 10:37:38 +0100
commit7786dc9a6df5cb01c2913f6d3c2171f0b9e9eb85 (patch)
tree6b35cf3ca2ff73bea39350d8dd062a9f698b7618 /src/testing/testing_api_cmd_kyc_wallet_get.c
parenta26c2c9a882534e7035215419a073e1368fddec9 (diff)
more work on testing
Diffstat (limited to 'src/testing/testing_api_cmd_kyc_wallet_get.c')
-rw-r--r--src/testing/testing_api_cmd_kyc_wallet_get.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/testing/testing_api_cmd_kyc_wallet_get.c b/src/testing/testing_api_cmd_kyc_wallet_get.c
index 24bd7d4d7..4add41a9e 100644
--- a/src/testing/testing_api_cmd_kyc_wallet_get.c
+++ b/src/testing/testing_api_cmd_kyc_wallet_get.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2021 Taler Systems SA
+ Copyright (C) 2021-2024 Taler Systems SA
TALER is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as
@@ -46,7 +46,7 @@ struct KycWalletGetState
/**
* Payto URI of the reserve of the wallet.
*/
- char *reserve_payto_uri;
+ struct TALER_NormalizedPayto reserve_payto_uri;
/**
* Our command.
@@ -67,7 +67,7 @@ struct KycWalletGetState
* Set to the KYC requirement payto hash *if* the exchange replied with a
* request for KYC (#MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS).
*/
- struct TALER_PaytoHashP h_payto;
+ struct TALER_NormalizedPaytoHashP h_payto;
/**
* Set to the KYC requirement row *if* the exchange replied with
@@ -226,7 +226,7 @@ wallet_kyc_cleanup (
TALER_EXCHANGE_kyc_wallet_cancel (kwg->kwh);
kwg->kwh = NULL;
}
- GNUNET_free (kwg->reserve_payto_uri);
+ GNUNET_free (kwg->reserve_payto_uri.normalized_payto);
GNUNET_free (kwg);
}
@@ -258,10 +258,10 @@ wallet_kyc_traits (void *cls,
&kwg->account_pub.reserve_pub),
TALER_TESTING_make_trait_legi_requirement_row (
&kwg->requirement_row),
- TALER_TESTING_make_trait_h_payto (
+ TALER_TESTING_make_trait_h_normalized_payto (
&kwg->h_payto),
- TALER_TESTING_make_trait_payto_uri (
- kwg->reserve_payto_uri),
+ TALER_TESTING_make_trait_normalized_payto_uri (
+ &kwg->reserve_payto_uri),
TALER_TESTING_trait_end ()
};