diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-05 22:17:16 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-05-11 10:01:40 +0200 |
commit | 28dff45363c8f161ceac808b69579da791e4d5d1 (patch) | |
tree | d140044ed25fb90f402e9b20c75a7b9bbd911831 /src/testing | |
parent | fcda74fb511aec5c96bc7374418769910b3b0bc2 (diff) | |
download | exchange-28dff45363c8f161ceac808b69579da791e4d5d1.tar.xz |
return fee as well
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_api_cmd_refund.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testing/testing_api_cmd_refund.c b/src/testing/testing_api_cmd_refund.c index c27311fbf..e662ace2e 100644 --- a/src/testing/testing_api_cmd_refund.c +++ b/src/testing/testing_api_cmd_refund.c @@ -76,6 +76,7 @@ struct RefundState * * @param cls closure * @param hr HTTP response details + * @param refund_fee the refund fee the exchange charged * @param exchange_pub public key the exchange * used for signing @a obj. * @param exchange_sig actual signature confirming the refund @@ -83,6 +84,7 @@ struct RefundState static void refund_cb (void *cls, const struct TALER_EXCHANGE_HttpResponse *hr, + const struct TALER_Amount *refund_fee, const struct TALER_ExchangePublicKeyP *exchange_pub, const struct TALER_ExchangeSignatureP *exchange_sig) { @@ -90,6 +92,7 @@ refund_cb (void *cls, struct RefundState *rs = cls; struct TALER_TESTING_Command *refund_cmd; + (void) refund_fee; refund_cmd = &rs->is->commands[rs->is->ip]; rs->rh = NULL; if (rs->expected_response_code != hr->http_status) |