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