diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-02 10:02:07 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-02 10:02:07 +0200 |
commit | 16bdd871f40e2994eba4dcb6c32ca5a1e25cabb9 (patch) | |
tree | 0aecc6963c78548ee051d182dab2882d3c632b47 | |
parent | df9a1770de2dd8d61e85ea2b61864f283c49fb68 (diff) |
remove useless check
-rw-r--r-- | src/exchange/taler-exchange-httpd_refresh.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/exchange/taler-exchange-httpd_refresh.c b/src/exchange/taler-exchange-httpd_refresh.c index e03be6373..8e74db506 100644 --- a/src/exchange/taler-exchange-httpd_refresh.c +++ b/src/exchange/taler-exchange-httpd_refresh.c @@ -561,7 +561,6 @@ TMH_REFRESH_handler_refresh_melt (struct TMH_RequestHandler *rh, json_t *link_encs; json_t *transfer_pubs; json_t *secret_encs; - json_t *coin_detail; int res; struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_json ("new_denoms", &new_denoms), @@ -605,14 +604,6 @@ TMH_REFRESH_handler_refresh_melt (struct TMH_RequestHandler *rh, return TMH_RESPONSE_reply_arg_invalid (connection, "transfer_pubs"); } - coin_detail = json_array_get (coin_evs, 0); - if (NULL == coin_detail) - { - // FIXME: generate proper HTTP response! - GNUNET_break_op (0); - GNUNET_JSON_parse_free (spec); - return (GNUNET_SYSERR == res) ? MHD_NO : MHD_YES; - } res = handle_refresh_melt_json (connection, new_denoms, melt_coin, |