gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: skip origin check if KYC is disa


From: gnunet
Subject: [taler-exchange] branch master updated: skip origin check if KYC is disabled
Date: Tue, 01 Oct 2024 17:54:35 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 737edd513 skip origin check if KYC is disabled
737edd513 is described below

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

    skip origin check if KYC is disabled
---
 src/exchange/taler-exchange-httpd_batch-withdraw.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/exchange/taler-exchange-httpd_batch-withdraw.c 
b/src/exchange/taler-exchange-httpd_batch-withdraw.c
index 5119a3e4b..cc61b98e7 100644
--- 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,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]