commit 30c6580c4eb90050cf2f58127eb71da2b9f0d459
parent 8992c30631b14fe3fa8b2bfb7b7b3c7e493d9113
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 11 Jan 2023 17:32:56 +0100
-return EC as part of 451 KYC required replies
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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",