aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_refund.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_refund.c')
-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
76 * 76 *
77 * @param cls closure 77 * @param cls closure
78 * @param hr HTTP response details 78 * @param hr HTTP response details
79 * @param refund_fee the refund fee the exchange charged
79 * @param exchange_pub public key the exchange 80 * @param exchange_pub public key the exchange
80 * used for signing @a obj. 81 * used for signing @a obj.
81 * @param exchange_sig actual signature confirming the refund 82 * @param exchange_sig actual signature confirming the refund
@@ -83,6 +84,7 @@ struct RefundState
83static void 84static void
84refund_cb (void *cls, 85refund_cb (void *cls,
85 const struct TALER_EXCHANGE_HttpResponse *hr, 86 const struct TALER_EXCHANGE_HttpResponse *hr,
87 const struct TALER_Amount *refund_fee,
86 const struct TALER_ExchangePublicKeyP *exchange_pub, 88 const struct TALER_ExchangePublicKeyP *exchange_pub,
87 const struct TALER_ExchangeSignatureP *exchange_sig) 89 const struct TALER_ExchangeSignatureP *exchange_sig)
88{ 90{
@@ -90,6 +92,7 @@ refund_cb (void *cls,
90 struct RefundState *rs = cls; 92 struct RefundState *rs = cls;
91 struct TALER_TESTING_Command *refund_cmd; 93 struct TALER_TESTING_Command *refund_cmd;
92 94
95 (void) refund_fee;
93 refund_cmd = &rs->is->commands[rs->is->ip]; 96 refund_cmd = &rs->is->commands[rs->is->ip];
94 rs->rh = NULL; 97 rs->rh = NULL;
95 if (rs->expected_response_code != hr->http_status) 98 if (rs->expected_response_code != hr->http_status)