left=0 after successful reveal
This commit is contained in:
parent
1a7619d54e
commit
7b9272d3e8
@ -57,7 +57,6 @@ static unsigned int nreserves;
|
|||||||
*/
|
*/
|
||||||
unsigned int ncoins;
|
unsigned int ncoins;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bank details of who creates reserves
|
* Bank details of who creates reserves
|
||||||
*/
|
*/
|
||||||
@ -190,7 +189,6 @@ struct Coin {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle to the exchange's process
|
* Handle to the exchange's process
|
||||||
*/
|
*/
|
||||||
@ -413,9 +411,13 @@ reveal_cb (void *cls,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||||
"Coin #%d revealed!\n",
|
"Coin #%d revealed!\n",
|
||||||
rrcls->coin_index);
|
rrcls->coin_index);
|
||||||
|
coins[rrcls->coin_index].left.value = 0;
|
||||||
|
}
|
||||||
|
|
||||||
keys = TALER_EXCHANGE_get_keys (exchange);
|
keys = TALER_EXCHANGE_get_keys (exchange);
|
||||||
for (i=0; i<num_coins; i++)
|
for (i=0; i<num_coins; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user