exchange

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

commit 9310bd13f9437b94fd0885d77b019d49bc674e3c
parent dd8c3e71a61dad9a609117eb98ed12993feda9a7
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 28 Mar 2024 12:31:24 +0100

improve logging, support case that is in the protocol client-side

Diffstat:
Msrc/exchange/taler-exchange-httpd_refund.c | 1+
Msrc/lib/exchange_api_refund.c | 4++++
2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_refund.c b/src/exchange/taler-exchange-httpd_refund.c @@ -158,6 +158,7 @@ refund_transaction (void *cls, } if (conflict) { + GNUNET_break_op (0); *mhd_ret = TEH_RESPONSE_reply_coin_insufficient_funds ( connection, TALER_EC_EXCHANGE_REFUND_INCONSISTENT_AMOUNT, diff --git a/src/lib/exchange_api_refund.c b/src/lib/exchange_api_refund.c @@ -323,6 +323,10 @@ handle_refund_finished (void *cls, rr.hr.ec = TALER_JSON_get_error_code (j); rr.hr.hint = TALER_JSON_get_error_hint (j); break; + case MHD_HTTP_FAILED_DEPENDENCY: + rr.hr.ec = TALER_JSON_get_error_code (j); + rr.hr.hint = TALER_JSON_get_error_hint (j); + break; case MHD_HTTP_PRECONDITION_FAILED: if (GNUNET_OK != verify_failed_dependency_ok (rh,