diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-10-19 23:07:17 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-10-19 23:07:17 +0200 |
commit | 083075153441c3451301d9ed35bfbac2dd8b346e (patch) | |
tree | f66875aaa67e3e65840b5511ec4bc2bf661a7aa3 /src/exchange/taler-exchange-httpd_reserve.c | |
parent | 9b6717ae3a95c6006d0f9692a8ae0f8d7f6ec60e (diff) | |
parent | 8fe6f64db308a8455c62e5139f7c2157faa2804a (diff) |
Merge branch 'master' of taler.net:exchange
Diffstat (limited to 'src/exchange/taler-exchange-httpd_reserve.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_reserve.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_reserve.c b/src/exchange/taler-exchange-httpd_reserve.c index 7098e99a..0abe37c5 100644 --- a/src/exchange/taler-exchange-httpd_reserve.c +++ b/src/exchange/taler-exchange-httpd_reserve.c @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2014,2015 GNUnet e.V. + Copyright (C) 2014, 2015, 2016 GNUnet e.V. TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software @@ -138,6 +138,7 @@ TEH_RESERVE_handler_reserve_withdraw (struct TEH_RequestHandler *rh, GNUNET_JSON_parse_free (spec); TEH_KS_release (ks); return TEH_RESPONSE_reply_arg_unknown (connection, + TALER_EC_WITHDRAW_DENOMINATION_KEY_NOT_FOUND, "denom_pub"); } TALER_amount_ntoh (&amount, @@ -171,6 +172,7 @@ TEH_RESERVE_handler_reserve_withdraw (struct TEH_RequestHandler *rh, TALER_LOG_WARNING ("Client supplied invalid signature for /reserve/withdraw request\n"); GNUNET_JSON_parse_free (spec); return TEH_RESPONSE_reply_signature_invalid (connection, + TALER_EC_WITHDRAW_RESERVE_SIGNATURE_INVALID, "reserve_sig"); } res = TEH_DB_execute_reserve_withdraw (connection, |