-do not ignore error code...

This commit is contained in:
Christian Grothoff 2016-06-10 16:06:27 +02:00
parent 8c13b6242b
commit 96b6bca54d

View File

@ -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,