From 93923c168d7472bf977c1dedc0a01c436769bf6e Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 22 Jul 2020 19:29:27 +0530 Subject: remove refund_fee from refund confirmation message and signature --- src/include/taler_exchange_service.h | 2 -- src/include/taler_signatures.h | 13 ------------- 2 files changed, 15 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 441a93c7e..6c5889ff8 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -911,7 +911,6 @@ struct TALER_EXCHANGE_RefundHandle; * * @param cls closure * @param hr HTTP response data - * @param refund_fee the refund fee the exchange charged us * @param sign_key exchange key used to sign @a obj, or NULL * @param signature the actual signature, or NULL on error */ @@ -919,7 +918,6 @@ typedef void (*TALER_EXCHANGE_RefundCallback) ( void *cls, const struct TALER_EXCHANGE_HttpResponse *hr, - const struct TALER_Amount *refund_fee, const struct TALER_ExchangePublicKeyP *sign_key, const struct TALER_ExchangeSignatureP *signature); diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index 07fdae3b5..6584f1853 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -509,7 +509,6 @@ struct TALER_RefundRequestPS * exchange to the customer. */ struct TALER_AmountNBO refund_amount; - }; @@ -552,18 +551,6 @@ struct TALER_RefundConfirmationPS * exchange to the customer. */ struct TALER_AmountNBO refund_amount; - - /** - * Refund fee charged by the exchange. This must match the - * Exchange's denomination key's refund fee. If the client puts in - * an invalid refund fee (too high or too low) that does not match - * the Exchange's denomination key, the refund operation is invalid - * and will be rejected by the exchange. The @e amount_with_fee - * minus the @e refund_fee is the amount that will be credited to - * the original coin. - */ - struct TALER_AmountNBO refund_fee; // FIXME: kill! => also do not return refund_fee (from exchange + merchant APIs) - }; -- cgit v1.2.3