exchange

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

commit ad12b72a8035c89c673019d3068fe977cc159706
parent 77d49bf4a7958fec21a91c36c5bfbf36b59f2739
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 26 Dec 2020 16:40:43 +0100

handle GONE, specified legal value now

Diffstat:
Msrc/lib/auditor_api_deposit_confirmation.c | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/lib/auditor_api_deposit_confirmation.c b/src/lib/auditor_api_deposit_confirmation.c @@ -120,6 +120,13 @@ handle_deposit_confirmation_finished (void *cls, /* Nothing really to verify, this should never happen, we should pass the JSON reply to the application */ break; + case MHD_HTTP_GONE: + hr.ec = TALER_JSON_get_error_code (json); + hr.hint = TALER_JSON_get_error_hint (json); + /* Nothing really to verify, auditor says one of the signatures is + invalid; as we checked them, this should never happen, we + should pass the JSON reply to the application */ + break; case MHD_HTTP_INTERNAL_SERVER_ERROR: hr.ec = TALER_JSON_get_error_code (json); hr.hint = TALER_JSON_get_error_hint (json); @@ -134,7 +141,6 @@ handle_deposit_confirmation_finished (void *cls, "Unexpected response code %u/%d for auditor deposit confirmation\n", (unsigned int) response_code, hr.ec); - GNUNET_break_op (0); break; } dh->cb (dh->cb_cls,