exchange

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

commit 7fd3be28acb8ff76a0e86a7a0ee791dee0852355
parent 478e2b042cb472d1667d826577b55bcea41bef1a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  4 May 2025 12:48:29 +0200

log if these are rules for a wallet

Diffstat:
Msrc/exchange/taler-exchange-httpd_kyc-info.c | 3++-
Msrc/kyclogic/kyclogic_api.c | 2+-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_kyc-info.c b/src/exchange/taler-exchange-httpd_kyc-info.c @@ -581,7 +581,8 @@ current_rules_cb ( return; } GNUNET_log (GNUNET_ERROR_TYPE_INFO, - "Making applicable zero-measures under current rules active\n"); + "Making applicable zero-measures for %s under current rules active\n", + kyp->is_wallet ? "wallets" : "accounts"); json_dumpf (jmeasures, stderr, JSON_INDENT (2)); diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c @@ -1257,7 +1257,7 @@ TALER_KYCLOGIC_zero_measures ( num_zero_measures++; } } - if (num_zero_measures == 0) + if (0 == num_zero_measures) { json_decref (zero_measures); return NULL;