summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-22 19:22:04 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-22 19:22:04 +0200
commit0d05df558c80b88a75397bfeea0a4249103952f2 (patch)
tree19173db0fd4b106ae3c257406970d075f1a535cc /src/testing
parentca0fc7c0746cd355109bccf432b9ff78f34393e8 (diff)
downloadmerchant-0d05df558c80b88a75397bfeea0a4249103952f2.tar.gz
merchant-0d05df558c80b88a75397bfeea0a4249103952f2.tar.bz2
merchant-0d05df558c80b88a75397bfeea0a4249103952f2.zip
add h_contract to refund response
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing_api_cmd_refund_order.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_refund_order.c b/src/testing/testing_api_cmd_refund_order.c
index bf8474dd..a22535e8 100644
--- a/src/testing/testing_api_cmd_refund_order.c
+++ b/src/testing/testing_api_cmd_refund_order.c
@@ -78,14 +78,18 @@ struct RefundState
* @param cls closure
* @param hr HTTP response
* @param taler_refund_uri the refund uri offered to the wallet
+ * @param h_contract hash of the contract a Browser may need to authorize
+ * obtaining the HTTP response.
*/
static void
refund_cb (void *cls,
const struct TALER_MERCHANT_HttpResponse *hr,
- const char *taler_refund_uri)
+ const char *taler_refund_uri,
+ const struct GNUNET_HashCode *h_contract)
{
struct RefundState *ris = cls;
+ (void) h_contract;
ris->orh = NULL;
if (ris->http_code != hr->http_status)
{