diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c index b39b68a44..799bc0c0f 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c @@ -974,21 +974,12 @@ TMH_RESPONSE_reply_refresh_reveal_success (struct MHD_Connection *connection, * @param connection the connection to send the response to * @param rm details about the original melt * @param mc all information about the original commitment - * @param off offset in the array of kappa-commitments where - * the missmatch was detected - * @param j index of the coin for which the missmatch was - * detected - * @param missmatch_object name of the object that was - * bogus (i.e. "transfer key"). * @return a MHD result code */ int TMH_RESPONSE_reply_refresh_reveal_missmatch (struct MHD_Connection *connection, const struct TALER_EXCHANGEDB_RefreshMelt *rm, - const struct TALER_EXCHANGEDB_MeltCommitment *mc, - unsigned int off, - unsigned int j, - const char *missmatch_object) + const struct TALER_EXCHANGEDB_MeltCommitment *mc) { json_t *info_new; json_t *info_commit; @@ -1061,15 +1052,12 @@ TMH_RESPONSE_reply_refresh_reveal_missmatch (struct MHD_Connection *connection, } return TMH_RESPONSE_reply_json_pack (connection, MHD_HTTP_CONFLICT, - "{s:s, s:i, s:i, s:o, s:o, s:o, s:o, s:s}", + "{s:s, s:o, s:o, s:o, s:o}", "error", "commitment violation", - "offset", (int) off, - "index", (int) j, "refresh_melt_info", rm_json, "newcoin_infos", info_new, "commit_infos", info_commit, - "link_infos", info_links, - "object", missmatch_object); + "link_infos", info_links); } |