aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-09 20:36:30 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-09 20:36:30 +0100
commit016551dbb4af5de4725fb67787dff07c852c0280 (patch)
treed7199334658b8caaa51307ddff69d4fe1bb0a661 /src/exchangedb
parenta9b2140b1ece806847aa45a6b95a959c9ddaa7bf (diff)
downloadexchange-016551dbb4af5de4725fb67787dff07c852c0280.tar.xz
misc TODOs for KYC left
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index fbd168a81..f9f3fd16f 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -26,6 +26,7 @@
#include "taler_error_codes.h"
#include "taler_dbevents.h"
#include "taler_pq_lib.h"
+#include "taler_util.h"
#include "taler_json_lib.h"
#include "taler_exchangedb_plugin.h"
#include <poll.h>
@@ -3986,6 +3987,10 @@ postgres_inselect_wallet_kyc_status (
qs = inselect_account_kyc_status (pg,
payto_uri,
kyc);
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Wire account for `%s' is %llu\n",
+ payto_uri,
+ (unsigned long long) kyc->payment_target_uuid);
GNUNET_free (payto_uri);
return qs;
}
@@ -4920,7 +4925,7 @@ withdraw_amount_by_account_cb (void *cls,
struct WithdrawAmountByAccountContext *wac = cls;
struct PostgresClosure *pg = wac->pg;
- for (unsigned int i = 0; num_results; i++)
+ for (unsigned int i = 0; i < num_results; i++)
{
struct TALER_Amount val;
struct GNUNET_PQ_ResultSpec rs[] = {