left=0 after successful reveal

This commit is contained in:
Marcello Stanisci 2016-06-14 15:58:25 +02:00
parent 1a7619d54e
commit 7b9272d3e8

View File

@ -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<num_coins; i++)
{