-do not ignore error code...
This commit is contained in:
parent
8c13b6242b
commit
96b6bca54d
@ -394,16 +394,18 @@ melt_cb (void *cls,
|
|||||||
const struct TALER_ExchangePublicKeyP *exchange_pub,
|
const struct TALER_ExchangePublicKeyP *exchange_pub,
|
||||||
const json_t *full_response)
|
const json_t *full_response)
|
||||||
{
|
{
|
||||||
|
struct RefreshRevealCls *rrcls = cls;
|
||||||
/* FIXME to be freed */
|
/* FIXME to be freed */
|
||||||
struct RefreshRevealCls *rrcls = (struct RefreshRevealCls *) cls;
|
|
||||||
|
|
||||||
if (MHD_HTTP_OK != http_status)
|
if (MHD_HTTP_OK != http_status)
|
||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Coin not correctly melted\n");
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
/*fail ("Coin not correctly melted\n");
|
"Coin not correctly melted\n");
|
||||||
return;*/
|
/*fail ("Coin not correctly melted\n"); */
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
coins[rrcls->coin_index].rrh = TALER_EXCHANGE_refresh_reveal (exchange,
|
coins[rrcls->coin_index].rrh
|
||||||
|
= TALER_EXCHANGE_refresh_reveal (exchange,
|
||||||
rrcls->blob_size,
|
rrcls->blob_size,
|
||||||
rrcls->blob,
|
rrcls->blob,
|
||||||
noreveal_index,
|
noreveal_index,
|
||||||
|
Loading…
Reference in New Issue
Block a user