aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib/exchange_api_refund.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-05-17 15:50:50 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-05-17 15:50:50 +0200
commit381ac75ae0a29edb6585cc68fbd2b81b1aeaff85 (patch)
tree83c31b8d6099395924bdcf902a020f46545932d3 /src/exchange-lib/exchange_api_refund.c
parent5e1178a74b9d581910bb1067a195e59f3c6ddcd2 (diff)
downloadexchange-381ac75ae0a29edb6585cc68fbd2b81b1aeaff85.tar.xz
Trigger conflicting refunds
Diffstat (limited to 'src/exchange-lib/exchange_api_refund.c')
-rw-r--r--src/exchange-lib/exchange_api_refund.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exchange-lib/exchange_api_refund.c b/src/exchange-lib/exchange_api_refund.c
index 1ddf642d6..c91952f13 100644
--- a/src/exchange-lib/exchange_api_refund.c
+++ b/src/exchange-lib/exchange_api_refund.c
@@ -184,6 +184,10 @@ handle_refund_finished (void *cls,
/* Client request was inconsistent; might be a currency missmatch
problem. */
break;
+ case MHD_HTTP_CONFLICT:
+ /* Two refund requests were made about the same deposit, but
+ carrying different refund transaction ids. */
+ break;
case MHD_HTTP_INTERNAL_SERVER_ERROR:
/* Server had an internal issue; we should retry, but this API
leaves this to the application */