From 166352e87e59f8525b501f87c5ecc3fce182835d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 7 Jun 2016 15:14:44 +0200 Subject: add exchange_pub to callbacks --- src/benchmark/taler-exchange-benchmark.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/benchmark') diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index 7e19d8318..53c49df80 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -222,12 +222,14 @@ fail (const char *msg) * @param cls closure with the interpreter state * @param http_status HTTP response code, #MHD_HTTP_OK (200) for successful deposit; * 0 if the exchange's reply is bogus (fails to follow the protocol) + * @param exchange_pub public key used by the exchange for signing * @param obj the received JSON reply, should be kept as proof (and, in case of errors, * be forwarded to the customer) */ static void deposit_cb (void *cls, unsigned int http_status, + const struct TALER_ExchangePublicKeyP *exchange_pub, const json_t *obj) { unsigned int coin_index = (unsigned int) (long) cls; -- cgit v1.2.3