From 30c6580c4eb90050cf2f58127eb71da2b9f0d459 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 11 Jan 2023 17:32:56 +0100 Subject: -return EC as part of 451 KYC required replies --- contrib/gana | 2 +- src/exchange/taler-exchange-httpd_responses.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/gana b/contrib/gana index df1d19891..9753b06ed 160000 --- a/contrib/gana +++ b/contrib/gana @@ -1 +1 @@ -Subproject commit df1d198918cbdd03c18723d818979c8d09f8f231 +Subproject commit 9753b06eded9186429380f002a073adee06dccfc diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c index c5fed44ac..ab9b81390 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c @@ -1128,6 +1128,7 @@ TEH_RESPONSE_reply_kyc_required (struct MHD_Connection *connection, return TALER_MHD_REPLY_JSON_PACK ( connection, MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS, + TALER_JSON_pack_ec (TALER_EC_EXCHANGE_GENERIC_KYC_REQUIRED), GNUNET_JSON_pack_data_auto ("h_payto", h_payto), GNUNET_JSON_pack_uint64 ("requirement_row", -- cgit v1.2.3