summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-04 20:35:10 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-04 20:35:10 +0100
commitdc5a68932a5803e2687749453aaacf256c340a14 (patch)
tree092f1cc592682b0cee74f11f1a87cc06360ef94f
parent3a6cdc4dc180b2f1dc8b761b613b34481b1ea3c1 (diff)
downloadmerchant-dc5a68932a5803e2687749453aaacf256c340a14.tar.gz
merchant-dc5a68932a5803e2687749453aaacf256c340a14.tar.bz2
merchant-dc5a68932a5803e2687749453aaacf256c340a14.zip
-fix test
-rw-r--r--src/backend/taler-merchant-httpd_post-tips-ID-pickup.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_post-tips-ID-pickup.c b/src/backend/taler-merchant-httpd_post-tips-ID-pickup.c
index 4336462e..c7c28a13 100644
--- a/src/backend/taler-merchant-httpd_post-tips-ID-pickup.c
+++ b/src/backend/taler-merchant-httpd_post-tips-ID-pickup.c
@@ -802,6 +802,10 @@ RETRY:
&pc->reserve_priv,
pc->planchets_length,
sigs);
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Lookup pickup `%s' resulted in %d\n",
+ GNUNET_h2s (&pc->pickup_id),
+ qs);
if (qs > GNUNET_DB_STATUS_SUCCESS_ONE_RESULT)
qs = GNUNET_DB_STATUS_SUCCESS_ONE_RESULT;
if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT == qs)
@@ -810,7 +814,7 @@ RETRY:
for (unsigned int i = 0; i< pc->planchets_length; i++)
{
- if (TALER_DENOMINATION_INVALID == sigs[i].cipher)
+ if (TALER_DENOMINATION_INVALID != sigs[i].cipher)
continue;
if (! rollback)
{
@@ -824,6 +828,10 @@ RETRY:
pc);
rollback = true;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Lookup pickup `%s' initiated withdraw #%u\n",
+ GNUNET_h2s (&pc->pickup_id),
+ i);
try_withdraw (pc,
exchange_url,
&pc->planchets[i],