From 7b9272d3e8cb4c540c876bc4e10875d45971214b Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 14 Jun 2016 15:58:25 +0200 Subject: [PATCH] left=0 after successful reveal --- src/benchmark/taler-exchange-benchmark.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index 83f201889..93df0ae0d 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -57,7 +57,6 @@ static unsigned int nreserves; */ unsigned int ncoins; - /** * Bank details of who creates reserves */ @@ -190,7 +189,6 @@ struct Coin { }; - /** * Handle to the exchange's process */ @@ -413,9 +411,13 @@ reveal_cb (void *cls, return; } else + { GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Coin #%d revealed!\n", rrcls->coin_index); + coins[rrcls->coin_index].left.value = 0; + } + keys = TALER_EXCHANGE_get_keys (exchange); for (i=0; i