summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_refund.c
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/lib/exchange_api_refund.c
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/lib/exchange_api_refund.c')
-rw-r--r--src/lib/exchange_api_refund.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/exchange_api_refund.c b/src/lib/exchange_api_refund.c
index 1af1f14b9..f675b07ac 100644
--- a/src/lib/exchange_api_refund.c
+++ b/src/lib/exchange_api_refund.c
@@ -97,7 +97,6 @@ verify_refund_signature_ok (struct TALER_EXCHANGE_RefundHandle *rh,
struct GNUNET_JSON_Specification spec[] = {
GNUNET_JSON_spec_fixed_auto ("exchange_sig", exchange_sig),
GNUNET_JSON_spec_fixed_auto ("exchange_pub", exchange_pub),
- TALER_JSON_spec_amount_nbo ("refund_fee", &rh->depconf.refund_fee),
GNUNET_JSON_spec_end ()
};
@@ -148,8 +147,6 @@ handle_refund_finished (void *cls,
struct TALER_ExchangeSignatureP exchange_sig;
struct TALER_ExchangePublicKeyP *ep = NULL;
struct TALER_ExchangeSignatureP *es = NULL;
- struct TALER_Amount ra;
- const struct TALER_Amount *rf = NULL;
const json_t *j = response;
struct TALER_EXCHANGE_HttpResponse hr = {
.reply = j,
@@ -178,9 +175,6 @@ handle_refund_finished (void *cls,
{
ep = &exchange_pub;
es = &exchange_sig;
- TALER_amount_ntoh (&ra,
- &rh->depconf.refund_fee);
- rf = &ra;
}
break;
case MHD_HTTP_BAD_REQUEST:
@@ -239,7 +233,6 @@ handle_refund_finished (void *cls,
}
rh->cb (rh->cb_cls,
&hr,
- rf,
ep,
es);
TALER_EXCHANGE_refund_cancel (rh);