diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c b/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c index 18fc4ceb..f3a28d24 100644 --- a/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c +++ b/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c @@ -459,9 +459,21 @@ get_exchange_limits ( json_t *limits; if (NULL != ekr->jlimits) + { + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Returning custom KYC limits\n"); return json_incref (ekr->jlimits); + } if (NULL == keys) + { + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "No keys, thus no default KYC limits known\n"); return NULL; + } + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Returning default KYC limits (%u/%u)\n", + keys->hard_limits_length, + keys->zero_limits_length); limits = json_array (); GNUNET_assert (NULL != limits); for (unsigned int i = 0; i<keys->hard_limits_length; i++) @@ -683,6 +695,9 @@ determine_eligible_accounts ( : '&', TALER_amount2s (&kyc_amount), merchant_pub_str); + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Found account %s where KYC auth is possible\n", + payto_kycauth); GNUNET_assert (0 == json_array_append_new (ekr->pkaa, json_string (payto_kycauth))); |