[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 01/02: more logging
From: |
gnunet |
Subject: |
[taler-merchant] 01/02: more logging |
Date: |
Sat, 13 Jan 2024 21:54:55 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
commit 12373dec23666974eb15698922d1099976277e39
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Jan 13 21:41:41 2024 +0100
more logging
---
src/backend/taler-merchant-httpd_private-post-orders.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c
b/src/backend/taler-merchant-httpd_private-post-orders.c
index 054dd714..d5a9f040 100644
--- a/src/backend/taler-merchant-httpd_private-post-orders.c
+++ b/src/backend/taler-merchant-httpd_private-post-orders.c
@@ -977,6 +977,9 @@ check_contract (struct OrderContext *oc)
"order contained unallowed values");
return;
case GNUNET_OK:
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Contract hash is %s\n",
+ GNUNET_h2s (&h_control.hash));
oc->phase++;
return;
}
@@ -1290,6 +1293,13 @@ serialize_order (struct OrderContext *oc)
"refund_deadline",
GNUNET_JSON_from_timestamp (
oc->parse_order.refund_deadline)));
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Refund deadline for contact is %llu\n",
+ (unsigned long long) refund_deadline.abs_time.abs_value_us);
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Wallet timestamp for contact is %llu\n",
+ (unsigned long
+ long) oc->parse_order.timestamp.abs_time.abs_value_us);
/* Pack does not work here, because it sets zero-values for relative times */
/* auto_refund should only be set if it is not 0 */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.