From d7ccfad6103f131afe297e3381b636bf59ce2dfa Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 16 Jan 2020 14:30:01 +0100 Subject: fix history API --- .../taler-exchange-httpd_reserve_withdraw.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'src/exchange/taler-exchange-httpd_reserve_withdraw.c') 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); -- cgit v1.2.3