aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-11-01 16:43:59 +0100
committerChristian Grothoff <christian@grothoff.org>2022-11-01 16:43:59 +0100
commit481ffc1a0a2c808316877a76d74262aa61274a26 (patch)
treea9d39ddc70f8c7037c8f50919495e567873f8719 /src/lib
parent22357678a088836aca5cd2c7e78c2c6702b6092c (diff)
downloadexchange-481ffc1a0a2c808316877a76d74262aa61274a26.tar.xz
remove wad fee, kyc fee and kyc-timeout
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_handle.c3
-rw-r--r--src/lib/exchange_api_management_set_global_fee.c5
-rw-r--r--src/lib/exchange_api_management_set_wire_fee.c2
-rw-r--r--src/lib/exchange_api_wire.c2
4 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 707e5cf5b..d6e12cc17 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -529,8 +529,6 @@ parse_global_fee (struct TALER_EXCHANGE_GlobalFee *gf,
&gf->end_date),
GNUNET_JSON_spec_relative_time ("purse_timeout",
&gf->purse_timeout),
- GNUNET_JSON_spec_relative_time ("account_kyc_timeout",
- &gf->kyc_timeout),
GNUNET_JSON_spec_relative_time ("history_expiration",
&gf->history_expiration),
GNUNET_JSON_spec_uint32 ("purse_account_limit",
@@ -563,7 +561,6 @@ parse_global_fee (struct TALER_EXCHANGE_GlobalFee *gf,
gf->end_date,
&gf->fees,
gf->purse_timeout,
- gf->kyc_timeout,
gf->history_expiration,
gf->purse_account_limit,
&key_data->master_pub,
diff --git a/src/lib/exchange_api_management_set_global_fee.c b/src/lib/exchange_api_management_set_global_fee.c
index b600c8cbe..c8fae5c18 100644
--- a/src/lib/exchange_api_management_set_global_fee.c
+++ b/src/lib/exchange_api_management_set_global_fee.c
@@ -130,7 +130,6 @@ TALER_EXCHANGE_management_set_global_fees (
struct GNUNET_TIME_Timestamp validity_end,
const struct TALER_GlobalFeeSet *fees,
struct GNUNET_TIME_Relative purse_timeout,
- struct GNUNET_TIME_Relative kyc_timeout,
struct GNUNET_TIME_Relative history_expiration,
uint32_t purse_account_limit,
const struct TALER_MasterSignatureP *master_sig,
@@ -164,16 +163,12 @@ TALER_EXCHANGE_management_set_global_fees (
validity_end),
TALER_JSON_pack_amount ("history_fee",
&fees->history),
- TALER_JSON_pack_amount ("kyc_fee",
- &fees->kyc),
TALER_JSON_pack_amount ("account_fee",
&fees->account),
TALER_JSON_pack_amount ("purse_fee",
&fees->purse),
GNUNET_JSON_pack_time_rel ("purse_timeout",
purse_timeout),
- GNUNET_JSON_pack_time_rel ("kyc_timeout",
- kyc_timeout),
GNUNET_JSON_pack_time_rel ("history_expiration",
history_expiration),
GNUNET_JSON_pack_uint64 ("purse_account_limit",
diff --git a/src/lib/exchange_api_management_set_wire_fee.c b/src/lib/exchange_api_management_set_wire_fee.c
index 5951b6e20..725261161 100644
--- a/src/lib/exchange_api_management_set_wire_fee.c
+++ b/src/lib/exchange_api_management_set_wire_fee.c
@@ -163,8 +163,6 @@ TALER_EXCHANGE_management_set_wire_fees (
validity_end),
TALER_JSON_pack_amount ("closing_fee",
&fees->closing),
- TALER_JSON_pack_amount ("wad_fee",
- &fees->wad),
TALER_JSON_pack_amount ("wire_fee",
&fees->wire));
eh = TALER_EXCHANGE_curl_easy_get_ (swfh->url);
diff --git a/src/lib/exchange_api_wire.c b/src/lib/exchange_api_wire.c
index 3079064c8..995a0933c 100644
--- a/src/lib/exchange_api_wire.c
+++ b/src/lib/exchange_api_wire.c
@@ -145,8 +145,6 @@ parse_fees (json_t *fees)
&wa->master_sig),
TALER_JSON_spec_amount_any ("wire_fee",
&wa->fees.wire),
- TALER_JSON_spec_amount_any ("wad_fee",
- &wa->fees.wad),
TALER_JSON_spec_amount_any ("closing_fee",
&wa->fees.closing),
GNUNET_JSON_spec_timestamp ("start_date",