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-07-05 16:35:00 +0200
commit727b7b04f3ae23fd49da7479fe4b4258513aef83 (patch)
treefb82190537a3ef1e023d8d95a8a840d85f2eb34c /src/testing
parente0e06276b959e499fc9c8f1d62bf776dfb348032 (diff)
downloadexchange-727b7b04f3ae23fd49da7479fe4b4258513aef83.tar.gz
exchange-727b7b04f3ae23fd49da7479fe4b4258513aef83.tar.bz2
exchange-727b7b04f3ae23fd49da7479fe4b4258513aef83.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)