summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-16 14:30:01 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-16 14:30:10 +0100
commitd7ccfad6103f131afe297e3381b636bf59ce2dfa (patch)
tree7f8c19c7706d2804766556dc7ccad966147bad72 /src/exchange
parent4ac34199ade4b0739241060c15d61b7243488b69 (diff)
downloadexchange-d7ccfad6103f131afe297e3381b636bf59ce2dfa.tar.gz
exchange-d7ccfad6103f131afe297e3381b636bf59ce2dfa.tar.bz2
exchange-d7ccfad6103f131afe297e3381b636bf59ce2dfa.zip
fix history API
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_reserve_withdraw.c21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/exchange/taler-exchange-httpd_reserve_withdraw.c b/src/exchange/taler-exchange-httpd_reserve_withdraw.c
index 8b59817a7..86633cd98 100644
--- a/src/exchange/taler-exchange-httpd_reserve_withdraw.c
+++ b/src/exchange/taler-exchange-httpd_reserve_withdraw.c
@@ -231,24 +231,9 @@ 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);
- }
-
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Trying to withdraw from reserve: %s\n",
+ TALER_B2S (&r.pub));
qs = TEH_plugin->reserve_get (TEH_plugin->cls,
session,
&r);