summaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-07 15:14:44 +0200
committerChristian Grothoff <christian@grothoff.org>2016-06-07 15:14:44 +0200
commit166352e87e59f8525b501f87c5ecc3fce182835d (patch)
tree184e20baaceacaf6b1a542a0f6f1068f35dcc3dd /src/benchmark
parente5894fac26def8fb1663056b73c8407c40f543c1 (diff)
downloadexchange-166352e87e59f8525b501f87c5ecc3fce182835d.tar.gz
exchange-166352e87e59f8525b501f87c5ecc3fce182835d.tar.bz2
exchange-166352e87e59f8525b501f87c5ecc3fce182835d.zip
add exchange_pub to callbacks
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/taler-exchange-benchmark.c2
1 files changed, 2 insertions, 0 deletions
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;