summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_reserve_withdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange/taler-exchange-httpd_reserve_withdraw.c')
-rw-r--r--src/exchange/taler-exchange-httpd_reserve_withdraw.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_reserve_withdraw.c b/src/exchange/taler-exchange-httpd_reserve_withdraw.c
index d42168abc..1a05326dd 100644
--- a/src/exchange/taler-exchange-httpd_reserve_withdraw.c
+++ b/src/exchange/taler-exchange-httpd_reserve_withdraw.c
@@ -223,6 +223,24 @@ withdraw_transaction (void *cls,
/* Check if balance is sufficient */
r.pub = wc->wsrd.reserve_pub;
+
+ /**
+ * Debug block.
+ */
+ {
+#define PUBSIZE 80
+ char pub_s[PUBSIZE];
+
+ GNUNET_break
+ (NULL != GNUNET_STRINGS_data_to_string (&r.pub,
+ sizeof (r.pub),
+ &pub_s[0],
+ PUBSIZE));
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Trying to withdraw from reserve: %s\n",
+ pub_s);
+ }
+
qs = TEH_plugin->reserve_get (TEH_plugin->cls,
session,
&r);