-return EC as part of 451 KYC required replies

This commit is contained in:
Christian Grothoff 2023-01-11 17:32:56 +01:00
parent 8992c30631
commit 30c6580c4e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit df1d198918cbdd03c18723d818979c8d09f8f231
Subproject commit 9753b06eded9186429380f002a073adee06dccfc

View File

@ -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",