diff options
| author | Christian Grothoff <christian@grothoff.org> | 2021-11-09 20:36:30 +0100 | 
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2021-11-09 20:36:30 +0100 | 
| commit | 016551dbb4af5de4725fb67787dff07c852c0280 (patch) | |
| tree | d7199334658b8caaa51307ddff69d4fe1bb0a661 /src/exchangedb | |
| parent | a9b2140b1ece806847aa45a6b95a959c9ddaa7bf (diff) | |
misc TODOs for KYC left
Diffstat (limited to 'src/exchangedb')
| -rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index fbd168a8..f9f3fd16 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[] = { | 
