diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-11-23 22:21:47 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-11-23 22:21:47 +0100 |
commit | 7aae6c90452c1e9bcae78a5e948f381c1165010a (patch) | |
tree | e4520eafe637260b87fabe9f272abd275a3b91d7 /src/exchange/taler-exchange-httpd_reserve_withdraw.c | |
parent | 51e54bbaa18397f599e5078153671c98c719c695 (diff) | |
download | exchange-7aae6c90452c1e9bcae78a5e948f381c1165010a.tar.gz exchange-7aae6c90452c1e9bcae78a5e948f381c1165010a.tar.bz2 exchange-7aae6c90452c1e9bcae78a5e948f381c1165010a.zip |
use CONFLICT for double spending to distinguish properly from FORBIDDEN for bad signatures
Diffstat (limited to 'src/exchange/taler-exchange-httpd_reserve_withdraw.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_reserve_withdraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_reserve_withdraw.c b/src/exchange/taler-exchange-httpd_reserve_withdraw.c index 2b4d2b93d..8b59817a7 100644 --- a/src/exchange/taler-exchange-httpd_reserve_withdraw.c +++ b/src/exchange/taler-exchange-httpd_reserve_withdraw.c @@ -72,7 +72,7 @@ reply_reserve_withdraw_insufficient_funds (struct MHD_Connection *connection, json_balance = TALER_JSON_from_amount (&balance); return TALER_MHD_reply_json_pack (connection, - MHD_HTTP_FORBIDDEN, + MHD_HTTP_CONFLICT, "{s:s, s:I, s:o, s:o}", "error", "Insufficient funds", "code", |