summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_reserves_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/exchange_api_reserves_open.c')
-rw-r--r--src/lib/exchange_api_reserves_open.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/exchange_api_reserves_open.c b/src/lib/exchange_api_reserves_open.c
index 8f3fab172..eb63f8fe9 100644
--- a/src/lib/exchange_api_reserves_open.c
+++ b/src/lib/exchange_api_reserves_open.c
@@ -278,6 +278,13 @@ handle_reserves_open_finished (void *cls,
rs.hr.ec = TALER_JSON_get_error_code (j);
rs.hr.hint = TALER_JSON_get_error_hint (j);
break;
+ case MHD_HTTP_CONFLICT:
+ // FIXME: not yet specified, but needed in
+ // case of double-spending or insufficient
+ // reserve balance!
+ rs.hr.ec = TALER_JSON_get_error_code (j);
+ rs.hr.hint = TALER_JSON_get_error_hint (j);
+ break;
case MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS:
if (GNUNET_OK !=
handle_reserves_open_kyc (roh,