exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 7d8783dee3d0f11aae0c43aeb96329fcbdfa3a58
parent 9084ac48216876c8a2f9d5a1a78c4b6216676de7
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  5 Jul 2015 13:08:57 +0200

-fix error code

Diffstat:
Msrc/mint/taler-mint-httpd_responses.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c @@ -460,7 +460,7 @@ compile_transaction_history (const struct TALER_MINTDB_TransactionList *tl) /** - * Send proof that a /withdraw request is invalid to client. This + * Send proof that a /deposit request is invalid to client. This * function will create a message with all of the operations affecting * the coin that demonstrate that the coin has insufficient value. * @@ -654,7 +654,7 @@ TMH_RESPONSE_reply_withdraw_sign_insufficient_funds (struct MHD_Connection *conn "balance calculation failure"); json_balance = TALER_json_from_amount (&balance); return TMH_RESPONSE_reply_json_pack (connection, - MHD_HTTP_FORBIDDEN, + MHD_HTTP_PAYMENT_REQUIRED, "{s:s, s:o, s:o}", "error", "Insufficient funds", "balance", json_balance,