exchange

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

commit 737edd5130bcb9ca7159ea54194eba4a5b8fbd90
parent a6deee497c1e4515c426d755f2b473905b958eca
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  1 Oct 2024 17:54:32 +0200

skip origin check if KYC is disabled

Diffstat:
Msrc/exchange/taler-exchange-httpd_batch-withdraw.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_batch-withdraw.c b/src/exchange/taler-exchange-httpd_batch-withdraw.c @@ -673,6 +673,11 @@ run_legi_check (struct BatchWithdrawContext *bwc) enum GNUNET_DB_QueryStatus qs; char *payto_uri; + if (GNUNET_YES != TEH_enable_kyc) + { + bwc->phase = BWC_PHASE_PREPARE_TRANSACTION; + return; + } /* Check if the money came from a wire transfer */ qs = TEH_plugin->reserves_get_origin ( TEH_plugin->cls,