summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-05 22:17:16 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-19 01:05:58 +0200
commit0dfe7c23cb051003ec36707b78010132b577a180 (patch)
treed140044ed25fb90f402e9b20c75a7b9bbd911831 /src/testing
parentce0e66b1606e4767a1f6daf9244823f374d7dc6c (diff)
downloadexchange-0dfe7c23cb051003ec36707b78010132b577a180.tar.gz
exchange-0dfe7c23cb051003ec36707b78010132b577a180.tar.bz2
exchange-0dfe7c23cb051003ec36707b78010132b577a180.zip
return fee as well
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing_api_cmd_refund.c3
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)