summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_post-orders-ID-abort.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-01 19:53:54 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-01 19:53:54 +0200
commit3528056f9afa9b540ba4ca3f57eb581e5b514540 (patch)
treebd1e59ee12fa3c07d2ace8e7d2017894aa4f6728 /src/backend/taler-merchant-httpd_post-orders-ID-abort.c
parent9b18406bc43bb2bb2d0c62526f2dcf9d1a4c043c (diff)
downloadmerchant-3528056f9afa9b540ba4ca3f57eb581e5b514540.tar.gz
merchant-3528056f9afa9b540ba4ca3f57eb581e5b514540.tar.bz2
merchant-3528056f9afa9b540ba4ca3f57eb581e5b514540.zip
adapt to exchangev8 protocol
Diffstat (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-abort.c')
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ID-abort.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-abort.c b/src/backend/taler-merchant-httpd_post-orders-ID-abort.c
index e6e8e406..7072a5a2 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-abort.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-abort.c
@@ -85,11 +85,6 @@ struct RefundDetails
struct TALER_Amount amount_with_fee;
/**
- * Fee charged by the exchange for the refund operation of this coin.
- */
- struct TALER_Amount refund_fee;
-
- /**
* Offset of this coin into the `rd` array of all coins in the
* @e ac.
*/
@@ -528,7 +523,6 @@ process_abort_with_exchange (void *cls,
ac->pending--;
rdi->rh = TALER_EXCHANGE_refund (exchange_handle,
&rdi->amount_with_fee,
- &rdi->refund_fee,
&ac->h_contract_terms,
&rdi->coin_pub,
0, /* rtransaction_id */
@@ -875,8 +869,6 @@ parse_abort (struct MHD_Connection *connection,
struct GNUNET_JSON_Specification ispec[] = {
TALER_JSON_spec_amount ("contribution",
&rd->amount_with_fee),
- TALER_JSON_spec_amount ("refund_fee",
- &rd->refund_fee),
GNUNET_JSON_spec_string ("exchange_url",
&exchange_url),
GNUNET_JSON_spec_fixed_auto ("coin_pub",