summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-22 19:29:27 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-22 19:29:27 +0530
commit93923c168d7472bf977c1dedc0a01c436769bf6e (patch)
treedccf694b79b08490f54c2a2e26f2369ce6b376af /src/exchange
parent70090ed9a86a5513f6b7396b232ebb1b19261469 (diff)
downloadexchange-93923c168d7472bf977c1dedc0a01c436769bf6e.tar.gz
exchange-93923c168d7472bf977c1dedc0a01c436769bf6e.tar.bz2
exchange-93923c168d7472bf977c1dedc0a01c436769bf6e.zip
remove refund_fee from refund confirmation message and signature
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_refund.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd_refund.c b/src/exchange/taler-exchange-httpd_refund.c
index a6a2c3d6..ea261cb5 100644
--- a/src/exchange/taler-exchange-httpd_refund.c
+++ b/src/exchange/taler-exchange-httpd_refund.c
@@ -61,8 +61,6 @@ reply_refund_success (struct MHD_Connection *connection,
TALER_amount_hton (&rc.refund_amount,
&refund->refund_amount);
- TALER_amount_hton (&rc.refund_fee,
- &refund->refund_fee);
if (GNUNET_OK !=
TEH_KS_sign (&rc,
&pub,
@@ -76,8 +74,7 @@ reply_refund_success (struct MHD_Connection *connection,
return TALER_MHD_reply_json_pack (
connection,
MHD_HTTP_OK,
- "{s:o, s:o, s:o}",
- "refund_fee", TALER_JSON_from_amount (&refund->refund_fee),
+ "{s:o, s:o}",
"exchange_sig", GNUNET_JSON_from_data_auto (&sig),
"exchange_pub", GNUNET_JSON_from_data_auto (&pub));
}